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
---
openapi: 3.0.0
# etc
components:
schemas:
StuffDefinition:
$ref: 'stuff.yaml#/schemas/Stuff
stuff.yaml
schemas:
Stuff:
type: object
properties:
mistake:
type: array
items:
anyOf:
- type: string
description: supposed to be a composite reference of to an existing object
- $ref: '#/schemas/Stuff'
description: supposed to be an inline subordinate object
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