mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Fixes for api docs
This commit is contained in:
parent
b6bea31646
commit
a13b97b0cb
@ -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",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="Account",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="Activity",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="BulkAction",
|
||||
* type="array",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="ClientContact",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="ClientGatewayToken",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="Client",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="CompanyGateway",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="CompanyLedger",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="Company",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="CompanySettings",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="CompanyToken",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="CompanyUser",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="CreditPaymentable",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="Credit",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="Design",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="Error",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="Expense",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="FeesAndLimits",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="GroupSetting",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Header(
|
||||
* header="X-MINIMUM-CLIENT-VERSION",
|
||||
* description="The API version",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="InvoicePaymentable",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="Invoice",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Parameter(
|
||||
* name="X-Api-Secret",
|
||||
* in="header",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="Payment",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="PaymentTerm",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="Paymentable",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="Product",
|
||||
* type="object",
|
||||
|
9
app/Http/Controllers/OpenAPI/ProjectSchema.php
Normal file
9
app/Http/Controllers/OpenAPI/ProjectSchema.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="Project",
|
||||
* type="object",
|
||||
* @OA\Property(property="id", type="string", example="Opnel5aKBz", description="______"),
|
||||
* @OA\Property(property="name", type="string", example="New Project", description="______"),
|
||||
* )
|
||||
*/
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="Quote",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="RecurringInvoice",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="RecurringQuote",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="SystemLog",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="TaxRate",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="Template",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="User",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="ValidationError",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="VendorContact",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="Vendor",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="Webhook",
|
||||
* type="object",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* @OA\OpenApi(
|
||||
* @OA\Info(
|
||||
* version="1.0.30",
|
||||
@ -15,8 +15,8 @@
|
||||
* )
|
||||
* ),
|
||||
* @OA\Server(
|
||||
* description="InvoiceNinja host",
|
||||
* url="https://virtserver.swaggerhub.com/InvoiceNinja/invoices/1.0.30"
|
||||
* description="Example InvoiceNinja base url",
|
||||
* url="https://ninja.test"
|
||||
* ),
|
||||
* @OA\ExternalDocumentation(
|
||||
* description="http://docs.invoiceninja.com",
|
||||
|
Loading…
x
Reference in New Issue
Block a user