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

Error response with no payload #68

Open
adahang opened this issue Sep 11, 2024 · 0 comments
Open

Error response with no payload #68

adahang opened this issue Sep 11, 2024 · 0 comments

Comments

@adahang
Copy link

adahang commented Sep 11, 2024

We have upgrade from an earlier version of the ApiStudio. For backwards compatibility we would like the ability to define error responses with no payload, so we can return the error message payload in a custom header. This is how we had it configured before we upgraded to ApiStudio.
We have tried a number of things in ApiStudio but currently there is no way to remove the payload from an error response, for example from a 404 response.

@adahang adahang changed the title Error repsonse with no payload Error response with no payload Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant