From a13b97b0cb673ef9a91c33167c450f1253ea68ec Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sat, 10 Oct 2020 23:07:52 +1100 Subject: [PATCH] Fixes for api docs --- app/Http/Controllers/Auth/LoginController.php | 13 +------------ app/Http/Controllers/OpenAPI/AccountSchema.php | 2 +- app/Http/Controllers/OpenAPI/ActivitySchema.php | 2 +- app/Http/Controllers/OpenAPI/BulkActionSchema.php | 2 +- .../Controllers/OpenAPI/ClientContactSchema.php | 2 +- app/Http/Controllers/OpenAPI/ClientGatewayToken.php | 2 +- app/Http/Controllers/OpenAPI/ClientSchema.php | 2 +- .../Controllers/OpenAPI/CompanyGatewaySchema.php | 2 +- .../Controllers/OpenAPI/CompanyLedgerSchema.php | 2 +- app/Http/Controllers/OpenAPI/CompanySchema.php | 2 +- .../Controllers/OpenAPI/CompanySettingsSchema.php | 2 +- app/Http/Controllers/OpenAPI/CompanyTokenSchema.php | 2 +- app/Http/Controllers/OpenAPI/CompanyUserSchema.php | 2 +- .../Controllers/OpenAPI/CreditPaymentableSchema.php | 2 +- app/Http/Controllers/OpenAPI/CreditSchema.php | 2 +- app/Http/Controllers/OpenAPI/DesignSchema.php | 2 +- app/Http/Controllers/OpenAPI/ErrorSchema.php | 2 +- app/Http/Controllers/OpenAPI/ExpenseSchema.php | 2 +- .../Controllers/OpenAPI/FeesAndLimitsSchema.php | 2 +- app/Http/Controllers/OpenAPI/GroupSettingSchema.php | 2 +- app/Http/Controllers/OpenAPI/Headers.php | 2 +- .../OpenAPI/InvoicePaymentableSchema.php | 2 +- app/Http/Controllers/OpenAPI/InvoiceSchema.php | 2 +- app/Http/Controllers/OpenAPI/Parameters.php | 2 +- app/Http/Controllers/OpenAPI/PaymentSchema.php | 2 +- app/Http/Controllers/OpenAPI/PaymentTermSchema.php | 2 +- app/Http/Controllers/OpenAPI/PaymentableSchema.php | 2 +- app/Http/Controllers/OpenAPI/ProductSchema.php | 2 +- app/Http/Controllers/OpenAPI/ProjectSchema.php | 9 +++++++++ app/Http/Controllers/OpenAPI/QuoteSchema.php | 2 +- app/Http/Controllers/OpenAPI/RecurringInvoice.php | 2 +- app/Http/Controllers/OpenAPI/RecurringQuote.php | 2 +- app/Http/Controllers/OpenAPI/SystemLogSchema.php | 2 +- app/Http/Controllers/OpenAPI/TaxRateSchema.php | 2 +- app/Http/Controllers/OpenAPI/TemplateSchema.php | 2 +- app/Http/Controllers/OpenAPI/UserSchema.php | 2 +- .../Controllers/OpenAPI/ValidationErrorSchema.php | 2 +- app/Http/Controllers/OpenAPI/VendorContact.php | 2 +- app/Http/Controllers/OpenAPI/VendorSchema.php | 2 +- app/Http/Controllers/OpenAPI/WebhookSchema.php | 2 +- app/Http/Controllers/OpenAPI/swagger-v3.php | 6 +++--- 41 files changed, 51 insertions(+), 53 deletions(-) create mode 100644 app/Http/Controllers/OpenAPI/ProjectSchema.php diff --git a/app/Http/Controllers/Auth/LoginController.php b/app/Http/Controllers/Auth/LoginController.php index 8d909ef93b..82ff104c4e 100644 --- a/app/Http/Controllers/Auth/LoginController.php +++ b/app/Http/Controllers/Auth/LoginController.php @@ -34,18 +34,7 @@ use Turbo124\Beacon\Facades\LightLogs; class LoginController extends BaseController { - /* - |-------------------------------------------------------------------------- - | Login Controller - |-------------------------------------------------------------------------- - | - | This controller handles authenticating users for the application and - | redirecting them to your home screen. The controller uses a trait - | to conveniently provide its functionality to your applications. - | - */ - - /* + /** * @OA\Tag( * name="login", * description="Authentication", diff --git a/app/Http/Controllers/OpenAPI/AccountSchema.php b/app/Http/Controllers/OpenAPI/AccountSchema.php index 79400ecb6e..b78df617bf 100644 --- a/app/Http/Controllers/OpenAPI/AccountSchema.php +++ b/app/Http/Controllers/OpenAPI/AccountSchema.php @@ -1,5 +1,5 @@