OAPI 3.1 validation does not allow license identifier field
infinitestory opened this issue · 3 comments
infinitestory commented
Describe the bug
The OpenAPI 3.1 spec allows the license
object to contain an identifier
field. Optic's validation step rejects this field.
To Reproduce
Steps to reproduce the behavior:
- Create any spec with a license that includes an identifier field.
optic run
oroptic diff
on that spec (ifdiff
, use strict validation)- Optic rejects the spec.
Expected behavior
Optic should allow the spec.
Details (please complete the following information):
- OS and version: Linux
- Optic version: v0.50.0
- NodeJS version: 20.5.1
niclim commented
Thanks for the report - I've got a fix up here #2368 and will report back here once we've put out a new version
niclim commented
Fixed in 0.50.6
- let me know if we can help with anything else - thanks for using Optic!
yonilerner commented
Thank you very much for the quick turnaround on this!