You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue to fix:
the "Add Body Parameter" command inserts a Parameters object at the root level of the OpenAPI document, which is invalid.
Expected behavior:
The command should add a Parameter object as a child of an existing Parameters object
If no Parameters object exists, the command should insert a Parameters Object and child Parameter object at a valid point in the OpenAPI document.
Suggestion:
the level in the document hierarchy where the insertion takes place (e.g. components, path item, operation item) should depend on where in the doc the user has clicked before the command is run.
Additional info:
I've tried the command both with and without an existing Parameters object in the doc. The behavior is the same.
I've also tried click at different levels inside the doc before running the command, but the insertion always is made at the doc root.
The text was updated successfully, but these errors were encountered:
VSCode v1.83.0 on MAC
OpenAPI Editor v4.18.6
Issue to fix:
the "Add Body Parameter" command inserts a Parameters object at the root level of the OpenAPI document, which is invalid.
Expected behavior:
The command should add a Parameter object as a child of an existing Parameters object
If no Parameters object exists, the command should insert a Parameters Object and child Parameter object at a valid point in the OpenAPI document.
Suggestion:
the level in the document hierarchy where the insertion takes place (e.g. components, path item, operation item) should depend on where in the doc the user has clicked before the command is run.
Additional info:
I've tried the command both with and without an existing Parameters object in the doc. The behavior is the same.
I've also tried click at different levels inside the doc before running the command, but the insertion always is made at the doc root.
The text was updated successfully, but these errors were encountered: