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
Describe the bug
From OpenAPI 3.1, the example property is deprecated and examples is preferred and type property can be a string, but also an array of strings.
The examples property and the type as an array seem not to be supported.
Describe the bug
From OpenAPI 3.1, the
example
property is deprecated andexamples
is preferred andtype
property can be a string, but also an array of strings.The
examples
property and thetype
as an array seem not to be supported.To Reproduce
Expected behavior
I would expect
examples
andtype
as an array to be allowed in the editor part.Screenshots
Editor complains about those 2 properties:
On the other hand, the preview seems to "understand" the syntax:
Stack trace
No exception.
Desktop (please complete the following information):
Additional context
Swagger editor (https://editor-next.swagger.io) does not complain about this YAML file.
Am I wrong anywhere?
Is the OpenAPI 3.1 not supported? If so, is it expected to be supported?
Thank you! 🙏
The text was updated successfully, but these errors were encountered: