diff --git a/src/Bundle/ChillThirdPartyBundle/chill.api.specs.yaml b/src/Bundle/ChillThirdPartyBundle/chill.api.specs.yaml index 50f0af70f..52db7589c 100644 --- a/src/Bundle/ChillThirdPartyBundle/chill.api.specs.yaml +++ b/src/Bundle/ChillThirdPartyBundle/chill.api.specs.yaml @@ -26,22 +26,14 @@ components: type: string telephone: type: string - comment: - type: string - # centers: - # type: array - # items: - # type: object - # $ref: "#/components/schemas/CenterById" - # CenterById: - # type: object - # properties: - # type: - # type: string - # enum: - # - "Center" - # id: - # type: integer + address: + $ref: "#/components/schemas/Address" + Address: + type: object + properties: + id: + type: integer + paths: /1.0/thirdparty/thirdparty.json: @@ -118,33 +110,3 @@ paths: description: "OK" 422: description: "Object with validation errors" - put: - tags: - - thirdparty - summary: Edit an existing thirdparty - parameters: - - name: id - in: path - required: true - description: The thirdparty's id - schema: - type: integer - format: integer - minimum: 1 - requestBody: - required: true - content: - application/json: - schema: - $ref: "#/components/schemas/Thirdparty" - responses: - 401: - description: "Unauthorized" - 404: - description: "Not found" - 200: - description: "OK" - 422: - description: "Unprocessable entity (validation errors)" - 400: - description: "Bad Request"