-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"identifier" field missing from license #1139
Labels
enhancement
New feature or request
Comments
Oh, thanks for reporting, this must have been missed when updating to 3.1 from 3.0 as 3.0 does not have this field. Need to add this. |
juhaku
added a commit
that referenced
this issue
Oct 15, 2024
This commit adds `identifier` field to `Info` what was missing since upgrading to OpenAPI 3.1. Fixes #1139
juhaku
added a commit
that referenced
this issue
Oct 15, 2024
This commit adds `identifier` field to `Info` what was missing since upgrading to OpenAPI 3.1. Fixes #1139
PR #1140 is on the way which adds identifier field. It can also be derived. But by default it is not going to be filled. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great crate!
One thing I noticed while I dabbled in updating to the 5.0.0, and my pre-commit hooks found (I use lin-openapi). The license object does not support specifying an identifier, see: https://spec.openapis.org/oas/latest.html#fixed-fields-2 . This errors on that particular check, but I did notice the License object defined here https://github.com/juhaku/utoipa/blob/master/utoipa/src/openapi/info.rs#L207-L218 did not contain it. I did a quick git search for any issues that were tracking it and couldn't find it, so decided to open this
The text was updated successfully, but these errors were encountered: