You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched existing issues to ensure the issue has not already been raised
Issue
Good day everyone.
I'm using simple protocol named as JSDOC
Long story short - on every request, server response with code 200 but JSON body may contain different content (payload, errors, etc.)
Perhaps it is possible to specify a scheme with a raw format? this option would suit me as well. For example, I would describe the open api scheme in the form of a template string and the plugin would poison this scheme in the ui bypassing object parsing
So far I have decided to describe the bodies of the 200 201 and 202 response codes. I will know that in fact all the answers are with code 200 - but this solution looks ugly.
Prerequisites
Issue
Good day everyone.
I'm using simple protocol named as JSDOC
Long story short - on every request, server response with code 200 but JSON body may contain different content (payload, errors, etc.)
I should make schema for this multiply content.
With OpenAPI we can use components:
You can try it here
Sorry, but I could not find how to realise it.
Please, help me find an answer to this question.
P.S. Do you have chat or community about this repository?
The text was updated successfully, but these errors were encountered: