Changing the swagger.yml file to be less verbose.
This commit is contained in:
parent
e065a61e32
commit
bd340e4432
|
@ -54,7 +54,7 @@ paths:
|
||||||
/time:
|
/time:
|
||||||
post:
|
post:
|
||||||
description: "Returns time of day."
|
description: "Returns time of day."
|
||||||
operationId: "ClockPost"
|
operationId: "TimePost"
|
||||||
parameters:
|
parameters:
|
||||||
- in: "body"
|
- in: "body"
|
||||||
name: "timezone"
|
name: "timezone"
|
||||||
|
@ -78,7 +78,7 @@ paths:
|
||||||
|
|
||||||
get:
|
get:
|
||||||
description: "Returns time of day."
|
description: "Returns time of day."
|
||||||
operationId: "ClockGet"
|
operationId: "TimeGet"
|
||||||
parameters:
|
parameters:
|
||||||
- in: query
|
- in: query
|
||||||
name: timezone
|
name: timezone
|
||||||
|
|
Loading…
Reference in New Issue