Code Review
/
portal
/
ric-dashboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update E2 manager API to version 20190515
[portal/ric-dashboard.git]
/
e2-mgr-client
/
src
/
main
/
resources
/
e2_manager_2019-05-15.yaml
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
a5ff7f0
..
20c4ec9
100644
(file)
--- 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
openapi: 3.0.0
info:
title: E2 Manager Service
- description:
This is a description of E2 manager s
ervice APIs
+ description:
E2 Manager S
ervice APIs
version: 1.0.0
servers:
version: 1.0.0
servers:
- - url:
http://{apiRoot}/nodeb/v1
+ - url:
'http://{apiRoot}/v1'
variables:
apiRoot:
variables:
apiRoot:
- default: localhost:3800
- description: >-
- E2 manager
+ default: 'localhost:3800'
paths:
paths:
- /setup:
+ /
nodeb/x2-
setup:
post:
post:
- summary: X2 Setup
Request
+ summary: X2 Setup
tags:
tags:
- -
X2 Setup Request
- operationId:
s
etup
+ -
nodeb
+ operationId:
x2S
etup
requestBody:
content:
application/json:
requestBody:
content:
application/json:
@@
-42,37
+40,24
@@
paths:
required: true
responses:
'200':
required: true
responses:
'200':
- description:
Request was handled successfuly
+ description:
Success
'400':
description: Invalid input
content:
'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':
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
- description: Internal
server
error
+ description: Internal error
content:
content:
- application/json:
- schema:
- $ref: '#/components/schemas/ErrorResponse'
- default:
- description: Unexpected error
- content:
- application/json:
+ application/problem+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
schema:
$ref: '#/components/schemas/ErrorResponse'
-
- /endcSetup:
+ /nodeb/endc-setup:
post:
tags:
post:
tags:
- -
ENDC Setup Request
- summary: ENDC Setup
Request
+ -
nodeb
+ summary: ENDC Setup
operationId: endcSetup
requestBody:
content:
operationId: endcSetup
requestBody:
content:
@@
-82,38
+67,24
@@
paths:
required: true
responses:
'200':
required: true
responses:
'200':
- description:
Request was handled successfuly
+ description:
Success
'400':
description: Invalid input
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'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':
'500':
- description: Internal
server e
rror
+ description: Internal
E
rror
content:
content:
- application/json:
- schema:
- $ref: '#/components/schemas/ErrorResponse'
- default:
- description: Unexpected error
- content:
- application/json:
+ application/problem+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
schema:
$ref: '#/components/schemas/ErrorResponse'
-
/health:
get:
tags:
- Health Check
summary: E2 Manager Service Health Check
/health:
get:
tags:
- Health Check
summary: E2 Manager Service Health Check
- operationId: healthCheck
responses:
'200':
description: OK
responses:
'200':
description: OK
@@
-141,7
+112,7
@@
components:
properties:
errorCode:
type: string
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
errorMessage:
type: string
description: Human readable text