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

[BUG] Cannot generate example using media type = application/problem+json #250

Open
YosaRama opened this issue Jun 30, 2023 · 0 comments
Open

Comments

@YosaRama
Copy link

Describe the bug
When I use application/problem+json base on RFC7807 on my return, it will not generate example. but when I try change to application/json it will be fine.

To Reproduce

  • @return {V1GetSubscriptionDetailsResponse} 200 - Successfully create new credentials - application/json (will generate example)
  • @return {V1GeneralErrorResponse} 400 - Failed response bad request - application/problem+json (not generate)
  • @return {V1GeneralErrorResponse} 401 - Failed response unauthorized (will generate example)

Expected behavior
I would to have example with media type = application/problem+json

Screenshots
Screenshot 2023-06-30 at 20 09 28

Desktop (please complete the following information):

  • OS: IOS
  • Version 13.4
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