Skip to content

Commit e22fad8

Browse files
authored
Merge pull request #1114 from RepreZen/OpenAPI.next_header_example
Fix spec example: Plain text response with headers
2 parents 4e7e956 + b387c4c commit e22fad8

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

versions/3.0.md

+15-6
Original file line numberDiff line numberDiff line change
@@ -1732,15 +1732,21 @@ Plain text response with headers:
17321732
"headers": {
17331733
"X-Rate-Limit-Limit": {
17341734
"description": "The number of allowed requests in the current period",
1735-
"type": "integer"
1735+
"schema": {
1736+
"type": "integer"
1737+
}
17361738
},
17371739
"X-Rate-Limit-Remaining": {
17381740
"description": "The number of remaining requests in the current period",
1739-
"type": "integer"
1741+
"schema": {
1742+
"type": "integer"
1743+
}
17401744
},
17411745
"X-Rate-Limit-Reset": {
17421746
"description": "The number of seconds left in the current period",
1743-
"type": "integer"
1747+
"schema": {
1748+
"type": "integer"
1749+
}
17441750
}
17451751
}
17461752
}
@@ -1756,13 +1762,16 @@ content:
17561762
headers:
17571763
X-Rate-Limit-Limit:
17581764
description: The number of allowed requests in the current period
1759-
type: integer
1765+
schema:
1766+
type: integer
17601767
X-Rate-Limit-Remaining:
17611768
description: The number of remaining requests in the current period
1762-
type: integer
1769+
schema:
1770+
type: integer
17631771
X-Rate-Limit-Reset:
17641772
description: The number of seconds left in the current period
1765-
type: integer
1773+
schema:
1774+
type: integer
17661775
```
17671776

17681777
Response with no return value:

0 commit comments

Comments
 (0)