swagger-editor
swagger-editor copied to clipboard
Auto-suggest for `$ref` values causes errors in console and doesn't load completion values
Q&A (please complete the following information)
- OS: Linux Mint
- Browser: Chrome
- Version: Version 95.0.4638.69 (Official Build) (64-bit)
- Method of installation: editor.swagger.io
- Swagger-Editor version: ?
- Swagger/OpenAPI version: OAS 3.0.0
Content & configuration
Example Swagger/OpenAPI definition: petstore
Swagger-Editor configuration options: editor.swagger.io
Describe the bug you're encountering
Auto-suggest for $ref
values causes errors in console and doesn't load completion values
To reproduce...
Steps to reproduce the behavior:
- Open editor.swagger.io (Load petstore yaml if not loaded)
-
ctrl-space
within a$ref
value, e.g. at the beginning of the value - See error in console, and empty completion list
Expected behavior
Completion list appears and no errors in console