Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Expose 429 Response headers #52

Open
i3149 opened this issue Aug 8, 2023 · 0 comments
Open

Feature Request: Expose 429 Response headers #52

i3149 opened this issue Aug 8, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@i3149
Copy link

i3149 commented Aug 8, 2023

I'm frequently having to deal with 429 timeout response headers. If the swagger spec could be updated to expose the Retry-After header my code would be much cleaner. Something like:

 "429": {
            "description": "The request cannot be served due to the application’s rate limit having been exhausted for the resource.",
            "headers": {
                "Retry-After":
                        "type": "int",
                        "description": "The number of seconds the client should wait before retrying"
            },
            "schema": {
              "type": "object"
                message:
                   type: string
            }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants