-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Description
Scenario
In the Components/Schemas section of an OAS, take an existing object and add an attribute:
- Move to the end of the object definition
- Press Enter to get a new line and shift-Tab to outdent from the previous field.
- Enter the field name
newField:and Enter. - Enter
type: string. The editor pops up a list of available types. The first type isarrayand it's pre-selected. - Press Enter. The editor replaces
stringwitharray
Result
There is a semantic error in the OAS.
This is one example. Other typing assist functions can be either annoying or harmful.
Workaround
Yes, by explicitly cancelling the autocomplete every single time.
Suggestion
Make all typing assist functions optional, so that the user can switch them all off with one button.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels