OpenAPI Docs

This commit is contained in:
David Bomba 2019-10-06 22:27:56 +11:00
parent 897e4855c1
commit daa402c778
4 changed files with 19 additions and 1 deletions

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

View File

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

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

View File

@ -0,0 +1 @@
<?php