/user:
post:
tags:
- user
summary: Create user
description: This can only be done by the logged in user.
operationId: createUser
responses:
default:
description: successful operation
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/User'
description: Created user object
required: true
What happened? When adding a new key to the operation autocompletes added too much spaces.
What should have happened instead?
https://user-images.githubusercontent.com/14113673/190604965-a4142cc2-b07b-4c6c-b40f-89c175d6ce73.mov
Minimal reproducible OpenAPI snippet