From 2145f3ba2c2d783107b3dfc6e338f852213038cd Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 10 Jan 2022 14:57:24 +0100 Subject: [PATCH] docs: fixing /exec/{id}/resize response code in API documentation This takes the changes from 1a933e113dc20c22c0d5906cf0b07d3f52098bba and 834272f978f0194b43770912b464f255e35edc92, and applies them to older API versions in the docs directory (which are used for the actual documentation). Signed-off-by: Sebastiaan van Stijn --- docs/api/v1.25.yaml | 10 +++++++++- docs/api/v1.26.yaml | 10 +++++++++- docs/api/v1.27.yaml | 10 +++++++++- docs/api/v1.28.yaml | 10 +++++++++- docs/api/v1.29.yaml | 10 +++++++++- docs/api/v1.30.yaml | 10 +++++++++- docs/api/v1.31.yaml | 10 +++++++++- docs/api/v1.32.yaml | 10 +++++++++- docs/api/v1.33.yaml | 10 +++++++++- docs/api/v1.34.yaml | 10 +++++++++- docs/api/v1.35.yaml | 10 +++++++++- docs/api/v1.36.yaml | 10 +++++++++- docs/api/v1.37.yaml | 10 +++++++++- docs/api/v1.38.yaml | 10 +++++++++- docs/api/v1.39.yaml | 10 +++++++++- docs/api/v1.40.yaml | 10 +++++++++- docs/api/v1.41.yaml | 10 +++++++++- 17 files changed, 153 insertions(+), 17 deletions(-) diff --git a/docs/api/v1.25.yaml b/docs/api/v1.25.yaml index cbcf726ab8..4bb3717f15 100644 --- a/docs/api/v1.25.yaml +++ b/docs/api/v1.25.yaml @@ -5679,12 +5679,20 @@ paths: description: "Resize the TTY session used by an exec instance. This endpoint only works if `tty` was specified as part of creating and starting the exec instance." operationId: "ExecResize" responses: - 201: + 200: description: "No error" + 400: + description: "bad parameter" + schema: + $ref: "#/definitions/ErrorResponse" 404: description: "No such exec instance" schema: $ref: "#/definitions/ErrorResponse" + 500: + description: "Server error" + schema: + $ref: "#/definitions/ErrorResponse" parameters: - name: "id" in: "path" diff --git a/docs/api/v1.26.yaml b/docs/api/v1.26.yaml index 22d4cc4e06..a0ce27959d 100644 --- a/docs/api/v1.26.yaml +++ b/docs/api/v1.26.yaml @@ -5688,12 +5688,20 @@ paths: description: "Resize the TTY session used by an exec instance. This endpoint only works if `tty` was specified as part of creating and starting the exec instance." operationId: "ExecResize" responses: - 201: + 200: description: "No error" + 400: + description: "bad parameter" + schema: + $ref: "#/definitions/ErrorResponse" 404: description: "No such exec instance" schema: $ref: "#/definitions/ErrorResponse" + 500: + description: "Server error" + schema: + $ref: "#/definitions/ErrorResponse" parameters: - name: "id" in: "path" diff --git a/docs/api/v1.27.yaml b/docs/api/v1.27.yaml index 542251110c..827c9cbf53 100644 --- a/docs/api/v1.27.yaml +++ b/docs/api/v1.27.yaml @@ -5763,12 +5763,20 @@ paths: description: "Resize the TTY session used by an exec instance. This endpoint only works if `tty` was specified as part of creating and starting the exec instance." operationId: "ExecResize" responses: - 201: + 200: description: "No error" + 400: + description: "bad parameter" + schema: + $ref: "#/definitions/ErrorResponse" 404: description: "No such exec instance" schema: $ref: "#/definitions/ErrorResponse" + 500: + description: "Server error" + schema: + $ref: "#/definitions/ErrorResponse" parameters: - name: "id" in: "path" diff --git a/docs/api/v1.28.yaml b/docs/api/v1.28.yaml index ed96d079c9..4909c1ac99 100644 --- a/docs/api/v1.28.yaml +++ b/docs/api/v1.28.yaml @@ -5879,12 +5879,20 @@ paths: description: "Resize the TTY session used by an exec instance. This endpoint only works if `tty` was specified as part of creating and starting the exec instance." operationId: "ExecResize" responses: - 201: + 200: description: "No error" + 400: + description: "bad parameter" + schema: + $ref: "#/definitions/ErrorResponse" 404: description: "No such exec instance" schema: $ref: "#/definitions/ErrorResponse" + 500: + description: "Server error" + schema: + $ref: "#/definitions/ErrorResponse" parameters: - name: "id" in: "path" diff --git a/docs/api/v1.29.yaml b/docs/api/v1.29.yaml index 77f6cbea12..001a12c4d6 100644 --- a/docs/api/v1.29.yaml +++ b/docs/api/v1.29.yaml @@ -5913,12 +5913,20 @@ paths: description: "Resize the TTY session used by an exec instance. This endpoint only works if `tty` was specified as part of creating and starting the exec instance." operationId: "ExecResize" responses: - 201: + 200: description: "No error" + 400: + description: "bad parameter" + schema: + $ref: "#/definitions/ErrorResponse" 404: description: "No such exec instance" schema: $ref: "#/definitions/ErrorResponse" + 500: + description: "Server error" + schema: + $ref: "#/definitions/ErrorResponse" parameters: - name: "id" in: "path" diff --git a/docs/api/v1.30.yaml b/docs/api/v1.30.yaml index 007564d352..a3df7226cb 100644 --- a/docs/api/v1.30.yaml +++ b/docs/api/v1.30.yaml @@ -6149,12 +6149,20 @@ paths: description: "Resize the TTY session used by an exec instance. This endpoint only works if `tty` was specified as part of creating and starting the exec instance." operationId: "ExecResize" responses: - 201: + 200: description: "No error" + 400: + description: "bad parameter" + schema: + $ref: "#/definitions/ErrorResponse" 404: description: "No such exec instance" schema: $ref: "#/definitions/ErrorResponse" + 500: + description: "Server error" + schema: + $ref: "#/definitions/ErrorResponse" parameters: - name: "id" in: "path" diff --git a/docs/api/v1.31.yaml b/docs/api/v1.31.yaml index 77518554fc..aecd1a7d19 100644 --- a/docs/api/v1.31.yaml +++ b/docs/api/v1.31.yaml @@ -6242,12 +6242,20 @@ paths: description: "Resize the TTY session used by an exec instance. This endpoint only works if `tty` was specified as part of creating and starting the exec instance." operationId: "ExecResize" responses: - 201: + 200: description: "No error" + 400: + description: "bad parameter" + schema: + $ref: "#/definitions/ErrorResponse" 404: description: "No such exec instance" schema: $ref: "#/definitions/ErrorResponse" + 500: + description: "Server error" + schema: + $ref: "#/definitions/ErrorResponse" parameters: - name: "id" in: "path" diff --git a/docs/api/v1.32.yaml b/docs/api/v1.32.yaml index 834b2eb0f5..6e5fe596ec 100644 --- a/docs/api/v1.32.yaml +++ b/docs/api/v1.32.yaml @@ -7279,12 +7279,20 @@ paths: description: "Resize the TTY session used by an exec instance. This endpoint only works if `tty` was specified as part of creating and starting the exec instance." operationId: "ExecResize" responses: - 201: + 200: description: "No error" + 400: + description: "bad parameter" + schema: + $ref: "#/definitions/ErrorResponse" 404: description: "No such exec instance" schema: $ref: "#/definitions/ErrorResponse" + 500: + description: "Server error" + schema: + $ref: "#/definitions/ErrorResponse" parameters: - name: "id" in: "path" diff --git a/docs/api/v1.33.yaml b/docs/api/v1.33.yaml index 09f551d205..e5074a3d4b 100644 --- a/docs/api/v1.33.yaml +++ b/docs/api/v1.33.yaml @@ -7288,12 +7288,20 @@ paths: description: "Resize the TTY session used by an exec instance. This endpoint only works if `tty` was specified as part of creating and starting the exec instance." operationId: "ExecResize" responses: - 201: + 200: description: "No error" + 400: + description: "bad parameter" + schema: + $ref: "#/definitions/ErrorResponse" 404: description: "No such exec instance" schema: $ref: "#/definitions/ErrorResponse" + 500: + description: "Server error" + schema: + $ref: "#/definitions/ErrorResponse" parameters: - name: "id" in: "path" diff --git a/docs/api/v1.34.yaml b/docs/api/v1.34.yaml index 1c6602d214..e0be6f709e 100644 --- a/docs/api/v1.34.yaml +++ b/docs/api/v1.34.yaml @@ -7334,12 +7334,20 @@ paths: description: "Resize the TTY session used by an exec instance. This endpoint only works if `tty` was specified as part of creating and starting the exec instance." operationId: "ExecResize" responses: - 201: + 200: description: "No error" + 400: + description: "bad parameter" + schema: + $ref: "#/definitions/ErrorResponse" 404: description: "No such exec instance" schema: $ref: "#/definitions/ErrorResponse" + 500: + description: "Server error" + schema: + $ref: "#/definitions/ErrorResponse" parameters: - name: "id" in: "path" diff --git a/docs/api/v1.35.yaml b/docs/api/v1.35.yaml index e4de8e6162..cb53c35489 100644 --- a/docs/api/v1.35.yaml +++ b/docs/api/v1.35.yaml @@ -7346,12 +7346,20 @@ paths: description: "Resize the TTY session used by an exec instance. This endpoint only works if `tty` was specified as part of creating and starting the exec instance." operationId: "ExecResize" responses: - 201: + 200: description: "No error" + 400: + description: "bad parameter" + schema: + $ref: "#/definitions/ErrorResponse" 404: description: "No such exec instance" schema: $ref: "#/definitions/ErrorResponse" + 500: + description: "Server error" + schema: + $ref: "#/definitions/ErrorResponse" parameters: - name: "id" in: "path" diff --git a/docs/api/v1.36.yaml b/docs/api/v1.36.yaml index 2ca85965f4..428a6c4020 100644 --- a/docs/api/v1.36.yaml +++ b/docs/api/v1.36.yaml @@ -7380,12 +7380,20 @@ paths: description: "Resize the TTY session used by an exec instance. This endpoint only works if `tty` was specified as part of creating and starting the exec instance." operationId: "ExecResize" responses: - 201: + 200: description: "No error" + 400: + description: "bad parameter" + schema: + $ref: "#/definitions/ErrorResponse" 404: description: "No such exec instance" schema: $ref: "#/definitions/ErrorResponse" + 500: + description: "Server error" + schema: + $ref: "#/definitions/ErrorResponse" parameters: - name: "id" in: "path" diff --git a/docs/api/v1.37.yaml b/docs/api/v1.37.yaml index 7e1e5bd523..71a6dee216 100644 --- a/docs/api/v1.37.yaml +++ b/docs/api/v1.37.yaml @@ -7423,12 +7423,20 @@ paths: description: "Resize the TTY session used by an exec instance. This endpoint only works if `tty` was specified as part of creating and starting the exec instance." operationId: "ExecResize" responses: - 201: + 200: description: "No error" + 400: + description: "bad parameter" + schema: + $ref: "#/definitions/ErrorResponse" 404: description: "No such exec instance" schema: $ref: "#/definitions/ErrorResponse" + 500: + description: "Server error" + schema: + $ref: "#/definitions/ErrorResponse" parameters: - name: "id" in: "path" diff --git a/docs/api/v1.38.yaml b/docs/api/v1.38.yaml index f593e09c2b..033d4cf99f 100644 --- a/docs/api/v1.38.yaml +++ b/docs/api/v1.38.yaml @@ -7484,12 +7484,20 @@ paths: description: "Resize the TTY session used by an exec instance. This endpoint only works if `tty` was specified as part of creating and starting the exec instance." operationId: "ExecResize" responses: - 201: + 200: description: "No error" + 400: + description: "bad parameter" + schema: + $ref: "#/definitions/ErrorResponse" 404: description: "No such exec instance" schema: $ref: "#/definitions/ErrorResponse" + 500: + description: "Server error" + schema: + $ref: "#/definitions/ErrorResponse" parameters: - name: "id" in: "path" diff --git a/docs/api/v1.39.yaml b/docs/api/v1.39.yaml index 1cf462a7e6..8c99844c9c 100644 --- a/docs/api/v1.39.yaml +++ b/docs/api/v1.39.yaml @@ -8249,12 +8249,20 @@ paths: if `tty` was specified as part of creating and starting the exec instance. operationId: "ExecResize" responses: - 201: + 200: description: "No error" + 400: + description: "bad parameter" + schema: + $ref: "#/definitions/ErrorResponse" 404: description: "No such exec instance" schema: $ref: "#/definitions/ErrorResponse" + 500: + description: "Server error" + schema: + $ref: "#/definitions/ErrorResponse" parameters: - name: "id" in: "path" diff --git a/docs/api/v1.40.yaml b/docs/api/v1.40.yaml index c09f763877..9266e9598a 100644 --- a/docs/api/v1.40.yaml +++ b/docs/api/v1.40.yaml @@ -8437,12 +8437,20 @@ paths: if `tty` was specified as part of creating and starting the exec instance. operationId: "ExecResize" responses: - 201: + 200: description: "No error" + 400: + description: "bad parameter" + schema: + $ref: "#/definitions/ErrorResponse" 404: description: "No such exec instance" schema: $ref: "#/definitions/ErrorResponse" + 500: + description: "Server error" + schema: + $ref: "#/definitions/ErrorResponse" parameters: - name: "id" in: "path" diff --git a/docs/api/v1.41.yaml b/docs/api/v1.41.yaml index fba45b6b15..95b37bd94b 100644 --- a/docs/api/v1.41.yaml +++ b/docs/api/v1.41.yaml @@ -8607,12 +8607,20 @@ paths: if `tty` was specified as part of creating and starting the exec instance. operationId: "ExecResize" responses: - 201: + 200: description: "No error" + 400: + description: "bad parameter" + schema: + $ref: "#/definitions/ErrorResponse" 404: description: "No such exec instance" schema: $ref: "#/definitions/ErrorResponse" + 500: + description: "Server error" + schema: + $ref: "#/definitions/ErrorResponse" parameters: - name: "id" in: "path"