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

Set a valid default content-type from API description #28

Closed
ahx opened this issue Jun 18, 2019 · 1 comment
Closed

Set a valid default content-type from API description #28

ahx opened this issue Jun 18, 2019 · 1 comment

Comments

@ahx
Copy link
Owner

ahx commented Jun 18, 2019

Currently you have to set the response's content-type by yourself. Let's change that so that OpenapiFirst sets the content-type if it is not set by the app. Let's just pick the first content-type in the API description for the the status code returned by the app.

@ahx ahx changed the title Set default content-type from API description Set a valid default content-type from API description Jun 18, 2019
@ahx
Copy link
Owner Author

ahx commented Jun 28, 2019

Closed via #29

@ahx ahx closed this as completed Jun 28, 2019
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