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
Hi team,
Not 100% the format so if wrong please let me know.
I am using the 1.5.22 tag of swagger. I am working on building a smaller swagger validator based on this tool chain. I want to produce an error saying you specified a required field but it's not in the definition. I have a swagger spec definition like below:
Hi team,
Not 100% the format so if wrong please let me know.
I am using the 1.5.22 tag of swagger. I am working on building a smaller swagger validator based on this tool chain. I want to produce an error saying you specified a required field but it's not in the definition. I have a swagger spec definition like below:
So I wrote some code like:
So I looked at the code and getRequired only returns properties that are on the object that match the required.
Is there a way to make this work?
I added code to ModelImpl like:
Which does work but is this the best way to do this and what are the odds of something like this making it in?
Thank you again for any help.
The text was updated successfully, but these errors were encountered: