diff --git a/src/main/resources/openapi.yaml b/src/main/resources/openapi.yaml index 04a65349..dd14801a 100644 --- a/src/main/resources/openapi.yaml +++ b/src/main/resources/openapi.yaml @@ -221,7 +221,7 @@ paths: - petstore_auth: - 'write:pets' - 'read:pets' - post: + patch: tags: - pet summary: Updates a pet in the store with form data @@ -235,16 +235,18 @@ paths: schema: type: integer format: int64 - - name: name - in: query - description: Name of pet that needs to be updated - schema: - type: string - - name: status - in: query - description: Status of pet that needs to be updated - schema: - type: string + requestBody: + content: + application/x-www-form-urlencoded: + schema: + type: object + properties: + name: + type: string + description: Name of pet that needs to be updated + status: + type: string + description: Status of pet that needs to be updated responses: '405': description: Invalid input