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

Support the JSON:API standard as a JSON content type #8635

Closed
tomharel opened this issue Jun 11, 2020 · 1 comment · Fixed by postmanlabs/postman-code-generators#409
Closed

Comments

@tomharel
Copy link

Is your feature request related to a problem? Please describe.
When using Postman to publish API docs with the JSON:API standard, we have to specify:
Content-Type: application/vnd.api+json

This leads to Postman weirdly formatting example requests as text (i.e. not understanding that the body is actually a JSON object), which makes it hard for implementers to copy paste the request.

For example:
Screen Shot 2020-06-11 at 15 15 04

Describe the solution you'd like
Ideally, Postman will recognize application/vnd.api+json as JSON.

@shashankawasthi88
Copy link

@tomharel This should be fixed in the latest Postman version. application/vnd.api+json should now be treated as JSON.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

5 participants