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
Unstable (i.e. wont pick up new files or preview new files) after a YAML OAS 3 with external references, where in one of those external references, has a anyOf: array with two options: string or a reference back to self. Uninstalling and re-installing does not help.
schemas:
Stuff:
type: objectproperties:
mistake:
type: arrayitems:
anyOf:
- type: stringdescription: supposed to be a composite reference of to an existing object
- $ref: '#/schemas/Stuff'description: supposed to be an inline subordinate object
The text was updated successfully, but these errors were encountered:
If I select OpenAPI Designer > Preview in side panel, it works fine.
If I reference foo as the type of sub-foos, which is legal in OAS, I get an error in the preview and it loads the default Pet Store example. Also, the auto-complete does not list Foo when trying to $ref it inside of itself.
If anyone has any bandwidth can you validate this type of circular reference works in the official https://editor.swagger.io/? Primarily, this extension just wraps the official editor so its helpful to know how the official editor behaves given a circular reference.
Unstable (i.e. wont pick up new files or preview new files) after a YAML OAS 3 with external references, where in one of those external references, has a anyOf: array with two options: string or a reference back to self. Uninstalling and re-installing does not help.
Example:
openapi.yaml
stuff.yaml
The text was updated successfully, but these errors were encountered: