Skip to content

Commit 32ea619

Browse files
committed
Merge pull request OAI#500 from rutsky/yaml_status_codes_strings
use string keys for HTTP status codes in YAML
2 parents fb690bc + e05b780 commit 32ea619

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

versions/2.0.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ Field Pattern | Type | Description
292292
produces:
293293
- application/json
294294
responses:
295-
200:
295+
'200':
296296
description: A list of pets.
297297
schema:
298298
type: array
@@ -380,7 +380,7 @@ get:
380380
- application/json
381381
- text/html
382382
responses:
383-
200:
383+
'200':
384384
description: pet response
385385
schema:
386386
type: array
@@ -515,9 +515,9 @@ parameters:
515515
required: false
516516
type: string
517517
responses:
518-
200:
518+
'200':
519519
description: Pet updated.
520-
405:
520+
'405':
521521
description: Invalid input
522522
security:
523523
- petstore_auth:
@@ -874,7 +874,7 @@ A 200 response for successful operation and a default response for others (imply
874874
```
875875

876876
```yaml
877-
200:
877+
'200':
878878
description: a pet to be returned
879879
schema:
880880
$ref: '#/definitions/Pet'

0 commit comments

Comments
 (0)