X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=e2-mgr-client%2Fsrc%2Fmain%2Fresources%2Fe2_manager_2019-05-15.yaml;fp=e2-mgr-client%2Fsrc%2Fmain%2Fresources%2Fe2_manager_02052019.yaml;h=20c4ec9d9909907949071e181ab84a01879f9e86;hb=4d6f9a14931a6aaaab28b482d73380e0960a82d6;hp=a5ff7f009c59e7d226d3da5666dbe4b4d606ab42;hpb=7af223f6899ed153028f0261e72baec6b4a247d3;p=portal%2Fric-dashboard.git diff --git a/e2-mgr-client/src/main/resources/e2_manager_02052019.yaml b/e2-mgr-client/src/main/resources/e2_manager_2019-05-15.yaml similarity index 63% rename from e2-mgr-client/src/main/resources/e2_manager_02052019.yaml rename to e2-mgr-client/src/main/resources/e2_manager_2019-05-15.yaml index a5ff7f00..20c4ec9d 100644 --- a/e2-mgr-client/src/main/resources/e2_manager_02052019.yaml +++ b/e2-mgr-client/src/main/resources/e2_manager_2019-05-15.yaml @@ -18,22 +18,20 @@ openapi: 3.0.0 info: title: E2 Manager Service - description: This is a description of E2 manager service APIs + description: E2 Manager Service APIs version: 1.0.0 servers: - - url: http://{apiRoot}/nodeb/v1 + - url: 'http://{apiRoot}/v1' variables: apiRoot: - default: localhost:3800 - description: >- - E2 manager + default: 'localhost:3800' paths: - /setup: + /nodeb/x2-setup: post: - summary: X2 Setup Request + summary: X2 Setup tags: - - X2 Setup Request - operationId: setup + - nodeb + operationId: x2Setup requestBody: content: application/json: @@ -42,37 +40,24 @@ paths: required: true responses: '200': - description: Request was handled successfuly + description: Success '400': description: Invalid input content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Resource not found - content: - application/json: + application/problem+json: schema: $ref: '#/components/schemas/ErrorResponse' '500': - description: Internal server error + description: Internal error content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - default: - description: Unexpected error - content: - application/json: + application/problem+json: schema: $ref: '#/components/schemas/ErrorResponse' - - /endcSetup: + /nodeb/endc-setup: post: tags: - - ENDC Setup Request - summary: ENDC Setup Request + - nodeb + summary: ENDC Setup operationId: endcSetup requestBody: content: @@ -82,38 +67,24 @@ paths: required: true responses: '200': - description: Request was handled successfuly + description: Success '400': description: Invalid input content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' - '404': - description: Resource not found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' '500': - description: Internal server error + description: Internal Error content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - default: - description: Unexpected error - content: - application/json: + application/problem+json: schema: $ref: '#/components/schemas/ErrorResponse' - /health: get: tags: - Health Check summary: E2 Manager Service Health Check - operationId: healthCheck responses: '200': description: OK @@ -141,7 +112,7 @@ components: properties: errorCode: type: string - description: 401 - corrupted json, 402 - validation error, 501 - internal problem + description: '401 - corrupted json, 402 - validation error, 501 - internal problem' errorMessage: type: string description: Human readable text