swagger-editor icon indicating copy to clipboard operation
swagger-editor copied to clipboard

SwaggerEditor@next: unexpected completion for $ref with YAML comment

Open char0n opened this issue 1 year ago • 0 comments

Originally reported in https://github.com/swagger-api/swagger-editor/issues/3216#issuecomment-1526096630

Here is a completion case that behaves unexpectably:

$ref: <cursor CTRL+B># comment

Instead of $ref suggestions, it gives us Schema Object fields suggestion.


Steps To Reproduce

https://github.com/swagger-api/swagger-editor/assets/193286/9115e720-7efa-4d3a-8339-078e4b703c1b

Expected behavior would be to see the completion of available pointers.

char0n avatar May 10 '23 09:05 char0n