Skip to content

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

Description

@YosaRama

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions