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
joi-to-swagger will only create schemas, the definition for example of parameters is not in the scope of that library.
I also want to point out, that joi-to-swagger will create OpenAPI v3 compliant schemas. In your example, you use a parameter with in: 'body', which is not OpenAPI v3 but Swagger (v2).
For your question, to create the components tree you described I have written the following code:
How to create JOI schema of following swagger example
Can anybody provide a proper example to solve the below example
The text was updated successfully, but these errors were encountered: