From d01d932943abc396fe8471c8a8ae78e68d2aa0b8 Mon Sep 17 00:00:00 2001 From: lcawl Date: Thu, 26 Oct 2023 11:33:33 -0700 Subject: [PATCH] [8.11][OAS] Simplify server declaration for case APIs --- .../plugins/cases/docs/openapi/bundled.json | 497 ++---------------- .../plugins/cases/docs/openapi/bundled.yaml | 163 +----- .../cases/docs/openapi/entrypoint.yaml | 3 +- .../cases/docs/openapi/paths/api@cases.yaml | 11 +- .../docs/openapi/paths/api@cases@_find.yaml | 4 - .../paths/api@cases@alerts@{alertid}.yaml | 6 +- .../openapi/paths/api@cases@configure.yaml | 8 +- .../api@cases@configure@connectors@_find.yaml | 4 - ...api@cases@configure@{configurationid}.yaml | 6 +- .../openapi/paths/api@cases@reporters.yaml | 4 - .../docs/openapi/paths/api@cases@status.yaml | 4 - .../docs/openapi/paths/api@cases@tags.yaml | 4 - .../openapi/paths/api@cases@{caseid}.yaml | 6 +- .../paths/api@cases@{caseid}@alerts.yaml | 6 +- .../paths/api@cases@{caseid}@comments.yaml | 13 +- ...i@cases@{caseid}@comments@{commentid}.yaml | 8 +- ...caseid}@connector@{connectorid}@_push.yaml | 6 +- .../api@cases@{caseid}@user_actions.yaml | 6 +- ...api@cases@{caseid}@user_actions@_find.yaml | 4 - .../openapi/paths/s@{spaceid}@api@cases.yaml | 9 - .../paths/s@{spaceid}@api@cases@_find.yaml | 4 - ...@{spaceid}@api@cases@alerts@{alertid}.yaml | 6 +- .../s@{spaceid}@api@cases@configure.yaml | 8 +- ...@api@cases@configure@connectors@_find.yaml | 6 +- ...api@cases@configure@{configurationid}.yaml | 6 +- .../s@{spaceid}@api@cases@reporters.yaml | 4 - .../paths/s@{spaceid}@api@cases@status.yaml | 4 - .../paths/s@{spaceid}@api@cases@tags.yaml | 4 - .../paths/s@{spaceid}@api@cases@{caseid}.yaml | 4 - ...s@{spaceid}@api@cases@{caseid}@alerts.yaml | 6 +- ...{spaceid}@api@cases@{caseid}@comments.yaml | 11 - ...id}@api@cases@{caseid}@comments@_find.yaml | 5 - ...i@cases@{caseid}@comments@{commentid}.yaml | 8 +- ...caseid}@connector@{connectorid}@_push.yaml | 6 +- ...ceid}@api@cases@{caseid}@user_actions.yaml | 6 +- ...api@cases@{caseid}@user_actions@_find.yaml | 4 - 36 files changed, 68 insertions(+), 796 deletions(-) diff --git a/x-pack/plugins/cases/docs/openapi/bundled.json b/x-pack/plugins/cases/docs/openapi/bundled.json index 9ef79cb9203ed..aacfb767c15ff 100644 --- a/x-pack/plugins/cases/docs/openapi/bundled.json +++ b/x-pack/plugins/cases/docs/openapi/bundled.json @@ -14,8 +14,7 @@ }, "servers": [ { - "url": "http://localhost:5601", - "description": "local" + "url": "/" } ], "security": [ @@ -87,12 +86,7 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] + } }, "delete": { "summary": "Deletes one or more cases in the default space.", @@ -123,12 +117,7 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] + } }, "patch": { "summary": "Updates one or more cases in the default space.", @@ -185,18 +174,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/api/cases/_find": { "get": { @@ -309,18 +288,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/api/cases/alerts/{alertId}": { "get": { @@ -380,18 +349,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601s" } - ] + } }, "/api/cases/configure": { "get": { @@ -554,12 +513,7 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] + } }, "post": { "summary": "Sets external connection details, such as the closure type and default connector for cases in the default space.", @@ -737,18 +691,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/api/cases/configure/{configurationId}": { "patch": { @@ -923,18 +867,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/api/cases/reporters": { "get": { @@ -1000,18 +934,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/api/cases/status": { "get": { @@ -1064,18 +988,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/api/cases/tags": { "get": { @@ -1120,18 +1034,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/api/cases/{caseId}": { "get": { @@ -1175,18 +1079,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/api/cases/{caseId}/alerts": { "get": { @@ -1231,18 +1125,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/api/cases/{caseId}/comments": { "post": { @@ -1301,12 +1185,7 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] + } }, "delete": { "summary": "Deletes all comments and alerts from a case in the default space.", @@ -1337,12 +1216,7 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] + } }, "patch": { "summary": "Updates a comment or alert in a case in the default space.", @@ -1400,12 +1274,7 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] + } }, "get": { "summary": "Retrieves all the comments from a case in the default space.", @@ -1441,18 +1310,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/api/cases/{caseId}/comments/{commentId}": { "delete": { @@ -1487,12 +1346,7 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] + } }, "get": { "summary": "Retrieves a comment from a case in the default space.", @@ -1542,18 +1396,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/api/cases/{caseId}/connector/{connectorId}/_push": { "post": { @@ -1610,18 +1454,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/api/cases/{caseId}/user_actions": { "get": { @@ -1666,18 +1500,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/api/cases/{caseId}/user_actions/_find": { "get": { @@ -1748,18 +1572,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/api/cases/configure/connectors/_find": { "get": { @@ -1834,18 +1648,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/s/{spaceId}/api/cases": { "post": { @@ -1904,12 +1708,7 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] + } }, "delete": { "summary": "Deletes one or more cases.", @@ -1943,12 +1742,7 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] + } }, "patch": { "summary": "Updates one or more cases.", @@ -2008,18 +1802,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/s/{spaceId}/api/cases/_find": { "get": { @@ -2134,18 +1918,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/s/{spaceId}/api/cases/alerts/{alertId}": { "get": { @@ -2207,18 +1981,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/s/{spaceId}/api/cases/configure": { "get": { @@ -2384,12 +2148,7 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] + } }, "post": { "summary": "Sets external connection details, such as the closure type and default connector for cases.", @@ -2570,18 +2329,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/s/{spaceId}/api/cases/configure/{configurationId}": { "patch": { @@ -2759,18 +2508,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/s/{spaceId}/api/cases/configure/connectors/_find": { "get": { @@ -2849,18 +2588,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/s/{spaceId}/api/cases/reporters": { "get": { @@ -2928,18 +2657,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/s/{spaceId}/api/cases/status": { "get": { @@ -2995,18 +2714,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/s/{spaceId}/api/cases/tags": { "get": { @@ -3053,18 +2762,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/s/{spaceId}/api/cases/{caseId}": { "get": { @@ -3111,18 +2810,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/s/{spaceId}/api/cases/{caseId}/alerts": { "get": { @@ -3170,18 +2859,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/s/{spaceId}/api/cases/{caseId}/comments": { "post": { @@ -3243,12 +2922,7 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] + } }, "delete": { "summary": "Deletes all comments and alerts from a case.", @@ -3282,12 +2956,7 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] + } }, "patch": { "summary": "Updates a comment or alert in a case.", @@ -3348,12 +3017,7 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] + } }, "get": { "summary": "Retrieves all the comments from a case.", @@ -3392,18 +3056,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/s/{spaceId}/api/cases/{caseId}/comments/_find": { "get": { @@ -3451,18 +3105,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/s/{spaceId}/api/cases/{caseId}/comments/{commentId}": { "delete": { @@ -3500,12 +3144,7 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] + } }, "get": { "summary": "Retrieves a comment from a case.", @@ -3558,18 +3197,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/s/{spaceId}/api/cases/{caseId}/connector/{connectorId}/_push": { "post": { @@ -3629,18 +3258,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/s/{spaceId}/api/cases/{caseId}/user_actions": { "get": { @@ -3688,18 +3307,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } }, "/s/{spaceId}/api/cases/{caseId}/user_actions/_find": { "get": { @@ -3773,18 +3382,8 @@ } } } - }, - "servers": [ - { - "url": "https://localhost:5601" - } - ] - }, - "servers": [ - { - "url": "https://localhost:5601" } - ] + } } }, "components": { diff --git a/x-pack/plugins/cases/docs/openapi/bundled.yaml b/x-pack/plugins/cases/docs/openapi/bundled.yaml index c24f9f3c67fa3..967fe1b0f9b38 100644 --- a/x-pack/plugins/cases/docs/openapi/bundled.yaml +++ b/x-pack/plugins/cases/docs/openapi/bundled.yaml @@ -9,8 +9,7 @@ info: name: Elastic License 2.0 url: https://www.elastic.co/licensing/elastic-license servers: - - url: http://localhost:5601 - description: local + - url: / security: - basicAuth: [] - apiKeyAuth: [] @@ -53,8 +52,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 delete: summary: Deletes one or more cases in the default space. operationId: deleteCaseDefaultSpace @@ -74,8 +71,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 patch: summary: Updates one or more cases in the default space. operationId: updateCaseDefaultSpace @@ -111,10 +106,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /api/cases/_find: get: summary: Retrieves a paginated subset of cases in the default space. @@ -174,10 +165,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /api/cases/alerts/{alertId}: get: summary: Returns the cases associated with a specific alert in the default space. @@ -216,10 +203,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601s /api/cases/configure: get: summary: Retrieves external connection details, such as the closure type and default connector for cases in the default space. @@ -337,8 +320,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 post: summary: Sets external connection details, such as the closure type and default connector for cases in the default space. operationId: setCaseConfigurationDefaultSpace @@ -464,10 +445,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /api/cases/configure/{configurationId}: patch: summary: Updates external connection details, such as the closure type and default connector for cases in the default space. @@ -591,10 +568,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /api/cases/reporters: get: summary: Returns information about the users who opened cases in the default space. @@ -640,10 +613,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /api/cases/status: get: summary: Returns the number of cases that are open, closed, and in progress in the default space. @@ -678,10 +647,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /api/cases/tags: get: summary: Aggregates and returns a list of case tags in the default space. @@ -711,10 +676,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /api/cases/{caseId}: get: summary: Retrieves information about a case in the default space. @@ -742,10 +703,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /api/cases/{caseId}/alerts: get: summary: Gets all alerts attached to a case in the default space. @@ -775,10 +732,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /api/cases/{caseId}/comments: post: summary: Adds a comment or alert to a case in the default space. @@ -815,8 +768,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 delete: summary: Deletes all comments and alerts from a case in the default space. operationId: deleteCaseCommentsDefaultSpace @@ -836,8 +787,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 patch: summary: Updates a comment or alert in a case in the default space. operationId: updateCaseCommentDefaultSpace @@ -873,8 +822,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 get: summary: Retrieves all the comments from a case in the default space. operationId: getAllCaseCommentsDefaultSpace @@ -898,10 +845,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /api/cases/{caseId}/comments/{commentId}: delete: summary: Deletes a comment or alert from a case in the default space. @@ -923,8 +866,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 get: summary: Retrieves a comment from a case in the default space. operationId: getCaseCommentDefaultSpace @@ -953,10 +894,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /api/cases/{caseId}/connector/{connectorId}/_push: post: summary: Pushes a case in the default space to an external service. @@ -991,10 +928,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /api/cases/{caseId}/user_actions: get: summary: Returns all user activity for a case in the default space. @@ -1024,10 +957,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /api/cases/{caseId}/user_actions/_find: get: summary: Finds user activity for a case in the default space. @@ -1070,10 +999,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /api/cases/configure/connectors/_find: get: summary: Retrieves information about connectors in the default space. @@ -1124,10 +1049,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /s/{spaceId}/api/cases: post: summary: Creates a case. @@ -1164,8 +1085,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 delete: summary: Deletes one or more cases. operationId: deleteCase @@ -1186,8 +1105,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 patch: summary: Updates one or more cases. operationId: updateCase @@ -1224,10 +1141,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /s/{spaceId}/api/cases/_find: get: summary: Retrieves a paginated subset of cases. @@ -1287,10 +1200,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /s/{spaceId}/api/cases/alerts/{alertId}: get: summary: Returns the cases associated with a specific alert. @@ -1329,10 +1238,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /s/{spaceId}/api/cases/configure: get: summary: Retrieves external connection details, such as the closure type and default connector for cases. @@ -1451,8 +1356,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 post: summary: Sets external connection details, such as the closure type and default connector for cases. operationId: setCaseConfiguration @@ -1579,10 +1482,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /s/{spaceId}/api/cases/configure/{configurationId}: patch: summary: Updates external connection details, such as the closure type and default connector for cases. @@ -1707,10 +1606,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /s/{spaceId}/api/cases/configure/connectors/_find: get: summary: Retrieves information about connectors. @@ -1762,10 +1657,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /s/{spaceId}/api/cases/reporters: get: summary: Returns information about the users who opened cases. @@ -1811,10 +1702,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /s/{spaceId}/api/cases/status: get: summary: Returns the number of cases that are open, closed, and in progress. @@ -1850,10 +1737,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /s/{spaceId}/api/cases/tags: get: summary: Aggregates and returns a list of case tags. @@ -1883,10 +1766,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /s/{spaceId}/api/cases/{caseId}: get: summary: Retrieves information about a case. @@ -1915,10 +1794,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /s/{spaceId}/api/cases/{caseId}/alerts: get: summary: Gets all alerts attached to a case. @@ -1949,10 +1824,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /s/{spaceId}/api/cases/{caseId}/comments: post: summary: Adds a comment or alert to a case. @@ -1990,8 +1861,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 delete: summary: Deletes all comments and alerts from a case. operationId: deleteCaseComments @@ -2012,8 +1881,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 patch: summary: Updates a comment or alert in a case. operationId: updateCaseComment @@ -2050,8 +1917,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 get: summary: Retrieves all the comments from a case. operationId: getAllCaseComments @@ -2076,10 +1941,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /s/{spaceId}/api/cases/{caseId}/comments/_find: get: summary: Retrieves all the user comments from a case. @@ -2107,10 +1968,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /s/{spaceId}/api/cases/{caseId}/comments/{commentId}: delete: summary: Deletes a comment or alert from a case. @@ -2133,8 +1990,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 get: summary: Retrieves a comment from a case. operationId: getCaseComment @@ -2164,10 +2019,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /s/{spaceId}/api/cases/{caseId}/connector/{connectorId}/_push: post: summary: Pushes a case to an external service. @@ -2203,10 +2054,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /s/{spaceId}/api/cases/{caseId}/user_actions: get: summary: Returns all user activity for a case. @@ -2237,10 +2084,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 /s/{spaceId}/api/cases/{caseId}/user_actions/_find: get: summary: Finds user activity for a case. @@ -2284,10 +2127,6 @@ paths: application/json: schema: $ref: '#/components/schemas/4xx_response' - servers: - - url: https://localhost:5601 - servers: - - url: https://localhost:5601 components: securitySchemes: basicAuth: diff --git a/x-pack/plugins/cases/docs/openapi/entrypoint.yaml b/x-pack/plugins/cases/docs/openapi/entrypoint.yaml index 142dcd2706fd3..840d49eaa852b 100644 --- a/x-pack/plugins/cases/docs/openapi/entrypoint.yaml +++ b/x-pack/plugins/cases/docs/openapi/entrypoint.yaml @@ -12,8 +12,7 @@ tags: - name: cases description: Case APIs enable you to open and track issues. servers: - - url: 'http://localhost:5601' - description: local + - url: / paths: # Paths in the default space '/api/cases': diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases.yaml b/x-pack/plugins/cases/docs/openapi/paths/api@cases.yaml index 98e97b6af7d5b..df3b8d2b0c773 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/api@cases.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/api@cases.yaml @@ -34,8 +34,6 @@ post: application/json: schema: $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 delete: summary: Deletes one or more cases in the default space. @@ -59,8 +57,6 @@ delete: application/json: schema: $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 patch: summary: Updates one or more cases in the default space. @@ -98,9 +94,4 @@ patch: content: application/json: schema: - $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 - -servers: - - url: https://localhost:5601 \ No newline at end of file + $ref: '../components/schemas/4xx_response.yaml' \ No newline at end of file diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@_find.yaml b/x-pack/plugins/cases/docs/openapi/paths/api@cases@_find.yaml index 6fd7f65ced3ad..aa926636802a2 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/api@cases@_find.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/api@cases@_find.yaml @@ -58,7 +58,3 @@ get: application/json: schema: $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 -servers: - - url: https://localhost:5601 diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@alerts@{alertid}.yaml b/x-pack/plugins/cases/docs/openapi/paths/api@cases@alerts@{alertid}.yaml index 24e91369a6422..64ff49d17b8cd 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/api@cases@alerts@{alertid}.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/api@cases@alerts@{alertid}.yaml @@ -36,8 +36,4 @@ get: content: application/json: schema: - $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 -servers: - - url: https://localhost:5601s \ No newline at end of file + $ref: '../components/schemas/4xx_response.yaml' \ No newline at end of file diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@configure.yaml b/x-pack/plugins/cases/docs/openapi/paths/api@cases@configure.yaml index ebbae5e333103..5d2904f38fb67 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/api@cases@configure.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/api@cases@configure.yaml @@ -26,8 +26,6 @@ get: application/json: schema: $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 post: summary: Sets external connection details, such as the closure type and default connector for cases in the default space. @@ -67,8 +65,4 @@ post: content: application/json: schema: - $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 -servers: - - url: https://localhost:5601 \ No newline at end of file + $ref: '../components/schemas/4xx_response.yaml' \ No newline at end of file diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@configure@connectors@_find.yaml b/x-pack/plugins/cases/docs/openapi/paths/api@cases@configure@connectors@_find.yaml index b0b3111094218..53a5ebf537e57 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/api@cases@configure@connectors@_find.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/api@cases@configure@connectors@_find.yaml @@ -28,7 +28,3 @@ get: application/json: schema: $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 -servers: - - url: https://localhost:5601 diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@configure@{configurationid}.yaml b/x-pack/plugins/cases/docs/openapi/paths/api@cases@configure@{configurationid}.yaml index 507842e6f47f4..63e10fc562424 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/api@cases@configure@{configurationid}.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/api@cases@configure@{configurationid}.yaml @@ -32,8 +32,4 @@ patch: content: application/json: schema: - $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 -servers: - - url: https://localhost:5601 \ No newline at end of file + $ref: '../components/schemas/4xx_response.yaml' \ No newline at end of file diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@reporters.yaml b/x-pack/plugins/cases/docs/openapi/paths/api@cases@reporters.yaml index 7bf256e3c33a3..5da5538638234 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/api@cases@reporters.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/api@cases@reporters.yaml @@ -30,7 +30,3 @@ get: application/json: schema: $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 -servers: - - url: https://localhost:5601 diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@status.yaml b/x-pack/plugins/cases/docs/openapi/paths/api@cases@status.yaml index 17dedefd16450..ab6cde8d05475 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/api@cases@status.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/api@cases@status.yaml @@ -34,7 +34,3 @@ get: application/json: schema: $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 -servers: - - url: https://localhost:5601 diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@tags.yaml b/x-pack/plugins/cases/docs/openapi/paths/api@cases@tags.yaml index 3ce4e0578178e..5cd8e51109719 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/api@cases@tags.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/api@cases@tags.yaml @@ -26,7 +26,3 @@ get: application/json: schema: $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 -servers: - - url: https://localhost:5601 diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}.yaml b/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}.yaml index 48238dcdcf4de..9629049c9b342 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}.yaml @@ -25,8 +25,4 @@ get: content: application/json: schema: - $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 -servers: - - url: https://localhost:5601 + $ref: '../components/schemas/4xx_response.yaml' \ No newline at end of file diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@alerts.yaml b/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@alerts.yaml index 80e4093303136..525fb25f4b6d5 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@alerts.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@alerts.yaml @@ -27,8 +27,4 @@ get: content: application/json: schema: - $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 -servers: - - url: https://localhost:5601 \ No newline at end of file + $ref: '../components/schemas/4xx_response.yaml' \ No newline at end of file diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@comments.yaml b/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@comments.yaml index 160a5a5f221ca..b70ad46d7a4c7 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@comments.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@comments.yaml @@ -36,8 +36,6 @@ post: application/json: schema: $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 delete: summary: Deletes all comments and alerts from a case in the default space. @@ -60,8 +58,6 @@ delete: application/json: schema: $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 patch: summary: Updates a comment or alert in a case in the default space. @@ -101,8 +97,6 @@ patch: application/json: schema: $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 get: summary: Retrieves all the comments from a case in the default space. @@ -130,9 +124,4 @@ get: content: application/json: schema: - $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 - -servers: - - url: https://localhost:5601 + $ref: '../components/schemas/4xx_response.yaml' \ No newline at end of file diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@comments@{commentid}.yaml b/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@comments@{commentid}.yaml index 0eb35a7bb1c9a..354b008201406 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@comments@{commentid}.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@comments@{commentid}.yaml @@ -20,8 +20,6 @@ delete: application/json: schema: $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 get: summary: Retrieves a comment from a case in the default space. @@ -52,8 +50,4 @@ get: content: application/json: schema: - $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 -servers: - - url: https://localhost:5601 \ No newline at end of file + $ref: '../components/schemas/4xx_response.yaml' \ No newline at end of file diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@connector@{connectorid}@_push.yaml b/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@connector@{connectorid}@_push.yaml index 4731c69bab76a..321f2f6938c50 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@connector@{connectorid}@_push.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@connector@{connectorid}@_push.yaml @@ -31,8 +31,4 @@ post: content: application/json: schema: - $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 -servers: - - url: https://localhost:5601 \ No newline at end of file + $ref: '../components/schemas/4xx_response.yaml' \ No newline at end of file diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@user_actions.yaml b/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@user_actions.yaml index b0e38a119fd34..29c24234dfcea 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@user_actions.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@user_actions.yaml @@ -28,8 +28,4 @@ get: content: application/json: schema: - $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 -servers: - - url: https://localhost:5601 + $ref: '../components/schemas/4xx_response.yaml' \ No newline at end of file diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@user_actions@_find.yaml b/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@user_actions@_find.yaml index ab8c16a641fdc..99caec414b132 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@user_actions@_find.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@user_actions@_find.yaml @@ -41,7 +41,3 @@ get: application/json: schema: $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 -servers: - - url: https://localhost:5601 diff --git a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases.yaml b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases.yaml index 58e73f6a68d17..1703dc5eecdc5 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases.yaml @@ -35,8 +35,6 @@ post: application/json: schema: $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 delete: summary: Deletes one or more cases. @@ -61,8 +59,6 @@ delete: application/json: schema: $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 patch: summary: Updates one or more cases. @@ -102,8 +98,3 @@ patch: application/json: schema: $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 - -servers: - - url: https://localhost:5601 diff --git a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@_find.yaml b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@_find.yaml index fa9687b439f84..a688b10389ecd 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@_find.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@_find.yaml @@ -58,7 +58,3 @@ get: application/json: schema: $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 -servers: - - url: https://localhost:5601 diff --git a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@alerts@{alertid}.yaml b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@alerts@{alertid}.yaml index 940f343c89386..f1e287e05d304 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@alerts@{alertid}.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@alerts@{alertid}.yaml @@ -36,8 +36,4 @@ get: content: application/json: schema: - $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 -servers: - - url: https://localhost:5601 \ No newline at end of file + $ref: '../components/schemas/4xx_response.yaml' \ No newline at end of file diff --git a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@configure.yaml b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@configure.yaml index c991005af9d70..5efd9064f2e4c 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@configure.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@configure.yaml @@ -27,8 +27,6 @@ get: application/json: schema: $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 post: summary: Sets external connection details, such as the closure type and default connector for cases. @@ -72,8 +70,4 @@ post: content: application/json: schema: - $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 -servers: - - url: https://localhost:5601 \ No newline at end of file + $ref: '../components/schemas/4xx_response.yaml' \ No newline at end of file diff --git a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@configure@connectors@_find.yaml b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@configure@connectors@_find.yaml index bfe60072b8f50..05565423dfd95 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@configure@connectors@_find.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@configure@connectors@_find.yaml @@ -28,8 +28,4 @@ get: content: application/json: schema: - $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 -servers: - - url: https://localhost:5601 + $ref: '../components/schemas/4xx_response.yaml' \ No newline at end of file diff --git a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@configure@{configurationid}.yaml b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@configure@{configurationid}.yaml index 749f1ece724b2..a996a439654b3 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@configure@{configurationid}.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@configure@{configurationid}.yaml @@ -34,8 +34,4 @@ patch: content: application/json: schema: - $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 -servers: - - url: https://localhost:5601 \ No newline at end of file + $ref: '../components/schemas/4xx_response.yaml' \ No newline at end of file diff --git a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@reporters.yaml b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@reporters.yaml index 51e57615f1216..734ed5fac049a 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@reporters.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@reporters.yaml @@ -34,7 +34,3 @@ get: application/json: schema: $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 -servers: - - url: https://localhost:5601 diff --git a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@status.yaml b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@status.yaml index d3c4b40fa3aea..fa8ef3182acc3 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@status.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@status.yaml @@ -35,7 +35,3 @@ get: application/json: schema: $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 -servers: - - url: https://localhost:5601 diff --git a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@tags.yaml b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@tags.yaml index ff448041dd712..88025633b12d1 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@tags.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@tags.yaml @@ -28,7 +28,3 @@ get: application/json: schema: $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 -servers: - - url: https://localhost:5601 diff --git a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}.yaml b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}.yaml index fb4f735f322eb..32e3434f15add 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}.yaml @@ -27,7 +27,3 @@ get: application/json: schema: $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 -servers: - - url: https://localhost:5601 diff --git a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@alerts.yaml b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@alerts.yaml index aca587fe4886c..66da1f1745d5f 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@alerts.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@alerts.yaml @@ -28,8 +28,4 @@ get: content: application/json: schema: - $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 -servers: - - url: https://localhost:5601 \ No newline at end of file + $ref: '../components/schemas/4xx_response.yaml' \ No newline at end of file diff --git a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@comments.yaml b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@comments.yaml index 1e1c73838abb9..0551151b613f1 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@comments.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@comments.yaml @@ -37,8 +37,6 @@ post: application/json: schema: $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 delete: summary: Deletes all comments and alerts from a case. @@ -62,8 +60,6 @@ delete: application/json: schema: $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 patch: summary: Updates a comment or alert in a case. @@ -104,8 +100,6 @@ patch: application/json: schema: $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 get: summary: Retrieves all the comments from a case. @@ -135,8 +129,3 @@ get: application/json: schema: $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 - -servers: - - url: https://localhost:5601 diff --git a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@comments@_find.yaml b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@comments@_find.yaml index b1dd32a659515..b027660aaf1ea 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@comments@_find.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@comments@_find.yaml @@ -26,8 +26,3 @@ get: application/json: schema: $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 - -servers: - - url: https://localhost:5601 diff --git a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@comments@{commentid}.yaml b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@comments@{commentid}.yaml index e43a2b2d81d65..2db1929ae4373 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@comments@{commentid}.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@comments@{commentid}.yaml @@ -21,8 +21,6 @@ delete: application/json: schema: $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 get: summary: Retrieves a comment from a case. @@ -54,8 +52,4 @@ get: content: application/json: schema: - $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 -servers: - - url: https://localhost:5601 \ No newline at end of file + $ref: '../components/schemas/4xx_response.yaml' \ No newline at end of file diff --git a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@connector@{connectorid}@_push.yaml b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@connector@{connectorid}@_push.yaml index c378192592ce9..12824648eedcb 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@connector@{connectorid}@_push.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@connector@{connectorid}@_push.yaml @@ -35,8 +35,4 @@ post: content: application/json: schema: - $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 -servers: - - url: https://localhost:5601 \ No newline at end of file + $ref: '../components/schemas/4xx_response.yaml' \ No newline at end of file diff --git a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@user_actions.yaml b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@user_actions.yaml index 4aa52bdbc44b5..6ec289c15cc66 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@user_actions.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@user_actions.yaml @@ -29,8 +29,4 @@ get: content: application/json: schema: - $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 -servers: - - url: https://localhost:5601 + $ref: '../components/schemas/4xx_response.yaml' \ No newline at end of file diff --git a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@user_actions@_find.yaml b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@user_actions@_find.yaml index 61a1290c7c5a6..0b5a6e660da8b 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@user_actions@_find.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@user_actions@_find.yaml @@ -42,7 +42,3 @@ get: application/json: schema: $ref: '../components/schemas/4xx_response.yaml' - servers: - - url: https://localhost:5601 -servers: - - url: https://localhost:5601