Skip to content

Commit ac96d1e

Browse files
committed
Response Object example updates
These updates are about header usage in the Response Object.
1 parent 7830a6e commit ac96d1e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/oas.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2010,14 +2010,26 @@ headers:
20102010
description: The number of allowed requests in the current period
20112011
schema:
20122012
type: integer
2013+
examples:
2014+
allowTen:
2015+
dataValue: 10
2016+
serializedValue: '10'
20132017
X-Rate-Limit-Remaining:
20142018
description: The number of remaining requests in the current period
20152019
schema:
20162020
type: integer
2021+
examples:
2022+
twoRemaining:
2023+
dataValue: 2
2024+
serializedValue: '2'
20172025
X-Rate-Limit-Reset:
20182026
description: The number of seconds left in the current period
20192027
schema:
20202028
type: integer
2029+
examples:
2030+
oneMinute:
2031+
dataValue: 60
2032+
serializedValue: '60'
20212033
```
20222034

20232035
Response with no return value:

0 commit comments

Comments
 (0)