1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 08:21:34 +02:00

Fixes for api docs

This commit is contained in:
David Bomba 2020-10-10 23:07:52 +11:00
parent b6bea31646
commit a13b97b0cb
41 changed files with 51 additions and 53 deletions

View File

@ -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",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="Account",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="Activity",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="BulkAction",
* type="array",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="ClientContact",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="ClientGatewayToken",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="Client",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="CompanyGateway",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="CompanyLedger",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="Company",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="CompanySettings",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="CompanyToken",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="CompanyUser",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="CreditPaymentable",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="Credit",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="Design",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="Error",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="Expense",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="FeesAndLimits",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="GroupSetting",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Header(
* header="X-MINIMUM-CLIENT-VERSION",
* description="The API version",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="InvoicePaymentable",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="Invoice",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Parameter(
* name="X-Api-Secret",
* in="header",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="Payment",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="PaymentTerm",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="Paymentable",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="Product",
* type="object",

View 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="______"),
* )
*/

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="Quote",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="RecurringInvoice",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="RecurringQuote",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="SystemLog",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="TaxRate",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="Template",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="User",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="ValidationError",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="VendorContact",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="Vendor",
* type="object",

View File

@ -1,5 +1,5 @@
<?php
/*
/**
* @OA\Schema(
* schema="Webhook",
* type="object",

View File

@ -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",