diff --git a/src/main/resources/openapi.yaml b/src/main/resources/openapi.yaml index 04a65349..17ebeccb 100644 --- a/src/main/resources/openapi.yaml +++ b/src/main/resources/openapi.yaml @@ -424,7 +424,7 @@ paths: tags: - user summary: Create user - description: This can only be done by the logged in user. + description: '' operationId: createUser responses: default: @@ -529,6 +529,8 @@ paths: responses: default: description: successful operation + security: + - petstore_auth: [] '/user/{username}': get: tags: @@ -586,6 +588,8 @@ paths: application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/User' + security: + - petstore_auth: [] delete: tags: - user @@ -604,6 +608,8 @@ paths: description: Invalid username supplied '404': description: User not found + security: + - petstore_auth: [] externalDocs: description: Find out more about Swagger url: 'http://swagger.io'