BRIKEV / express-jsdoc-swagger

Swagger OpenAPI 3.x generator
https://brikev.github.io/express-jsdoc-swagger-docs/#/
MIT License
218 stars 30 forks source link

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

Open YosaRama opened 1 year ago

YosaRama commented 1 year ago

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

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):