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
Hello the Spectral community, I need some help regarding a rule I want to implement in my OpenAPI. I want to control that all properties must be required.
So that means that the number of "required" items equals the number of properties. I want to know if a predefined function exists for this case or if I need to create a custom one (if yes, if you have an idea of the implementation).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello the Spectral community, I need some help regarding a rule I want to implement in my OpenAPI. I want to control that all properties must be required.
So that means that the number of "required" items equals the number of properties. I want to know if a predefined function exists for this case or if I need to create a custom one (if yes, if you have an idea of the implementation).
Thanks
Beta Was this translation helpful? Give feedback.
All reactions