Skip to content

Validation for a JSON string inside of a request #959

Answered by p1c2u
jjimene1 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jjimene1

it is possible to define specification for such case in OpenAPI 3.1.1 by using contentMediaType and contentSchema. Although the library currently doesn't support it.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jjimene1
Comment options

Answer selected by jjimene1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants