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 cbcf726ab87e8..4bb3717f15b96 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 22d4cc4e06530..a0ce27959dad3 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 542251110caf1..827c9cbf53c96 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 ed96d079c914b..4909c1ac99689 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 77f6cbea12576..001a12c4d6598 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 007564d3529a9..a3df7226cb1ae 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 77518554fca6c..aecd1a7d196a4 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 834b2eb0f553a..6e5fe596ec4ae 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 09f551d205ec5..e5074a3d4bf79 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 1c6602d214d22..e0be6f709e788 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 e4de8e6162d65..cb53c3548912b 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 2ca85965f4b6b..428a6c4020ec9 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 7e1e5bd523a83..71a6dee216048 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 f593e09c2b8ff..033d4cf99f992 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 1cf462a7e6f2b..8c99844c9c0fd 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 c09f76387767c..9266e9598a343 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 fba45b6b15a55..95b37bd94bc5f 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"