Playing around with the yml file and typo corrections
This commit is contained in:
parent
48dae8badf
commit
01ff8332f9
|
@ -23,22 +23,13 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
description: the Id of the application access this API
|
description: the Id of the application access this API
|
||||||
requestBody:
|
|
||||||
description: Current uptime for the API instance.
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/Uptime'
|
|
||||||
application/xml:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/Uptime'
|
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
description: Request sucessful
|
description: Request sucessful
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/ApiResponse'
|
$ref: '#/components/schemas/Uptime'
|
||||||
|
|
||||||
/v1.4/city:
|
/v1.4/city:
|
||||||
post:
|
post:
|
||||||
|
@ -46,7 +37,7 @@ paths:
|
||||||
- city
|
- city
|
||||||
summary: Create a city
|
summary: Create a city
|
||||||
operationId: createCity
|
operationId: createCity
|
||||||
description: Create a new city with a file upoload
|
description: Create a new city with a file upload
|
||||||
parameters:
|
parameters:
|
||||||
- in: header
|
- in: header
|
||||||
name: appId
|
name: appId
|
||||||
|
@ -603,11 +594,12 @@ paths:
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
Uptime:
|
Uptime:
|
||||||
type: json
|
type: object
|
||||||
propreties:
|
properties:
|
||||||
uptime: time
|
uptime:
|
||||||
|
type: string
|
||||||
format: hh:mm:ss.ms
|
format: hh:mm:ss.ms
|
||||||
example: 0:09:53.600281
|
example: "00:09:53.600281"
|
||||||
City:
|
City:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user