mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
OpenAPI Docs
This commit is contained in:
parent
897e4855c1
commit
daa402c778
8
app/Http/Controllers/OpenAPI/AccountSchema.php
Normal file
8
app/Http/Controllers/OpenAPI/AccountSchema.php
Normal file
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="Account",
|
||||
* type="object",
|
||||
* @OA\Property(property="id", type="string", example="AS3df3A", description="The account hashed id"),
|
||||
* )
|
||||
*/
|
@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="Company",
|
||||
* type="object"
|
||||
* @OA\Property(property="id", type="string", example="WJxbojagwO", description="The company hash id"),
|
||||
* @OA\Property(property="name", type="string", example="The local shop", description="The company name"),
|
||||
* @OA\Property(property="logo", type="object", example="logo.png", description="The company logo - binary"),
|
||||
|
9
app/Http/Controllers/OpenAPI/CompanyTokenSchema.php
Normal file
9
app/Http/Controllers/OpenAPI/CompanyTokenSchema.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="CompanyToken",
|
||||
* type="object",
|
||||
* @OA\Property(property="name", type="string", example="Token Name", description="The token name"),
|
||||
* @OA\Property(property="token", type="string", example="AS3df3jUUH765fhfd9KJuidj3JShjA", description="The token value"),
|
||||
* )
|
||||
*/
|
1
app/Http/Controllers/OpenAPI/UserSchema.php
Normal file
1
app/Http/Controllers/OpenAPI/UserSchema.php
Normal file
@ -0,0 +1 @@
|
||||
<?php
|
Loading…
x
Reference in New Issue
Block a user