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
|
||||
required: true
|
||||
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:
|
||||
'200':
|
||||
description: Request sucessful
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ApiResponse'
|
||||
$ref: '#/components/schemas/Uptime'
|
||||
|
||||
/v1.4/city:
|
||||
post:
|
||||
|
@ -46,7 +37,7 @@ paths:
|
|||
- city
|
||||
summary: Create a city
|
||||
operationId: createCity
|
||||
description: Create a new city with a file upoload
|
||||
description: Create a new city with a file upload
|
||||
parameters:
|
||||
- in: header
|
||||
name: appId
|
||||
|
@ -603,11 +594,12 @@ paths:
|
|||
components:
|
||||
schemas:
|
||||
Uptime:
|
||||
type: json
|
||||
propreties:
|
||||
uptime: time
|
||||
format: hh:mm:ss.ms
|
||||
example: 0:09:53.600281
|
||||
type: object
|
||||
properties:
|
||||
uptime:
|
||||
type: string
|
||||
format: hh:mm:ss.ms
|
||||
example: "00:09:53.600281"
|
||||
City:
|
||||
type: object
|
||||
properties:
|
||||
|
|
Loading…
Reference in New Issue
Block a user