Alternative required properties syntax #648
alexeyr-ci
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I noticed in the examples required properties being specified as
title: { type: :string, required: true },
seems more intuitive to me, at least. I see that the current style aligns with OpenAPI, but could both be allowed (and generate the same Swagger file, of course)?Beta Was this translation helpful? Give feedback.
All reactions