-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$ref autocomplete does not replace existing text #894
Comments
Hi Mitchell! Could you please provide us with the full example of the case you're testing? |
Hi @mhanberg , could you please provide us with some more information about this issue? |
An internal ticket was created for the followup of this issue |
@emilianoascona apologies, let me see if i can make a sanitized example, my current spec is for work. |
CleanShot.2023-03-06.at.10.09.20.mp4openapi: 3.0.3
info:
title: Test
description: test
version: 0.0.1
servers:
- url: "https://example.com"
paths:
/some/path:
get:
operationId: somePath
summary: Example Path
description: Example Path
responses:
"200":
description: "example response"
content:
application/json:
schema:
$ref:
components:
schemas:
Foo:
type: object
properties:
bar:
type: string
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
security:
- bearerAuth: [] |
I was able to replicate the same behavior with VSCode as well. |
Your issue may already be reported! Please search on Github issues before creating one.
I'm submitting a ...
What is the current behavior?
I tried to replicate this with the VSCode extension, but I can't seem to get autocomplete to work at all.
Please provide stack traces/logs and the failing JSON rpc message if possible
File being edited (API spec/AML Document)
What is the expected behavior?
What is the motivation/use case for changing the behavior? (for feature requests)
Please tell us about your environment:
Note:
I will fill in the rest when i get some time.
The text was updated successfully, but these errors were encountered: