diff options
author | Fabio Berger <me@fabioberger.com> | 2018-08-27 22:28:57 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-08-27 22:28:57 +0800 |
commit | b8241c0f808518a3f727424cacb952cc9ce80c4c (patch) | |
tree | 309abba264ea3578cefdc8d7a4f53ef482ff26c9 /packages/sra-spec/src/headers.ts | |
parent | fe7a8be98c32c6aed8548574e67e36962db732fb (diff) | |
parent | f4a4fefe422a5b2140d5bb394a7f06f842352c69 (diff) | |
download | dexon-sol-tools-b8241c0f808518a3f727424cacb952cc9ce80c4c.tar dexon-sol-tools-b8241c0f808518a3f727424cacb952cc9ce80c4c.tar.gz dexon-sol-tools-b8241c0f808518a3f727424cacb952cc9ce80c4c.tar.bz2 dexon-sol-tools-b8241c0f808518a3f727424cacb952cc9ce80c4c.tar.lz dexon-sol-tools-b8241c0f808518a3f727424cacb952cc9ce80c4c.tar.xz dexon-sol-tools-b8241c0f808518a3f727424cacb952cc9ce80c4c.tar.zst dexon-sol-tools-b8241c0f808518a3f727424cacb952cc9ce80c4c.zip |
Merge branch 'development' into dev-dropdown
* development: (120 commits)
Exit with non-error code at end of publishRelease
Publish
Updated CHANGELOGS
Fix prettier
Update changelog files for RC packages
Skip doc generation for local publishes since we test this in a separate CI test
Fix typo
Use absolute path
Run yarn a second time if the first fails
Try relative to root dir
Fix command
Move md files to lib folder during build
Change exit code to failure
Fix sra-spec `main` and `types` in package.json
Actual relative path
Try relative path
Issue #1025 BlockParam unroll
Fix command
Move md files to lib folder during build
Fix sra-spec `main` and `types` in package.json
...
Diffstat (limited to 'packages/sra-spec/src/headers.ts')
-rw-r--r-- | packages/sra-spec/src/headers.ts | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/sra-spec/src/headers.ts b/packages/sra-spec/src/headers.ts new file mode 100644 index 000000000..152254c9f --- /dev/null +++ b/packages/sra-spec/src/headers.ts @@ -0,0 +1,20 @@ +export const headers = { + 'X-Rate-Limit-Limit': { + description: `The maximum number of requests you're permitted to make per hour.`, + schema: { + type: 'integer', + }, + }, + 'X-Rate-Limit-Remaining': { + description: 'The number of requests remaining in the current rate limit window.', + schema: { + type: 'integer', + }, + }, + 'X-Rate-Limit-Reset': { + description: 'The time at which the current rate limit window resets in UTC epoch seconds.', + schema: { + type: 'integer', + }, + }, +}; |