Code Review
/
cps.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Release notes added for 3.4.6
[cps.git]
/
docs
/
api
/
swagger
/
ncmp
/
openapi.yaml
diff --git
a/docs/api/swagger/ncmp/openapi.yaml
b/docs/api/swagger/ncmp/openapi.yaml
index
a1cc5d9
..
9203b6d
100644
(file)
--- a/
docs/api/swagger/ncmp/openapi.yaml
+++ b/
docs/api/swagger/ncmp/openapi.yaml
@@
-56,6
+56,12
@@
paths:
default: application/json
example: application/yang-data+json
type: string
default: application/json
example: application/yang-data+json
type: string
+ - description: Authorization parameter for request.
+ in: header
+ name: Authorization
+ required: false
+ schema:
+ type: string
responses:
"204":
content: {}
responses:
"204":
content: {}
@@
-70,16
+76,6
@@
paths:
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
- "401":
- content:
- application/json:
- example:
- status: 401
- message: Unauthorized error message
- details: Unauthorized error details
- schema:
- $ref: '#/components/schemas/ErrorMessage'
- description: Unauthorized
"403":
content:
application/json:
"403":
content:
application/json:
@@
-199,6
+195,12
@@
paths:
schema:
default: false
type: boolean
schema:
default: false
type: boolean
+ - description: Authorization parameter for request.
+ in: header
+ name: Authorization
+ required: false
+ schema:
+ type: string
responses:
"200":
content:
responses:
"200":
content:
@@
-220,16
+222,6
@@
paths:
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
- "401":
- content:
- application/json:
- example:
- status: 401
- message: Unauthorized error message
- details: Unauthorized error details
- schema:
- $ref: '#/components/schemas/ErrorMessage'
- description: Unauthorized
"403":
content:
application/json:
"403":
content:
application/json:
@@
-312,6
+304,12
@@
paths:
default: application/json
example: application/yang-data+json
type: string
default: application/json
example: application/yang-data+json
type: string
+ - description: Authorization parameter for request.
+ in: header
+ name: Authorization
+ required: false
+ schema:
+ type: string
requestBody:
content:
'*/*':
requestBody:
content:
'*/*':
@@
-339,16
+337,6
@@
paths:
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
- "401":
- content:
- application/json:
- example:
- status: 401
- message: Unauthorized error message
- details: Unauthorized error details
- schema:
- $ref: '#/components/schemas/ErrorMessage'
- description: Unauthorized
"403":
content:
application/json:
"403":
content:
application/json:
@@
-430,6
+418,12
@@
paths:
default: application/json
example: application/yang-data+json
type: string
default: application/json
example: application/yang-data+json
type: string
+ - description: Authorization parameter for request.
+ in: header
+ name: Authorization
+ required: false
+ schema:
+ type: string
requestBody:
content:
application/json:
requestBody:
content:
application/json:
@@
-461,16
+455,6
@@
paths:
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
- "401":
- content:
- application/json:
- example:
- status: 401
- message: Unauthorized error message
- details: Unauthorized error details
- schema:
- $ref: '#/components/schemas/ErrorMessage'
- description: Unauthorized
"403":
content:
application/json:
"403":
content:
application/json:
@@
-553,6
+537,12
@@
paths:
default: application/json
example: application/yang-data+json
type: string
default: application/json
example: application/yang-data+json
type: string
+ - description: Authorization parameter for request.
+ in: header
+ name: Authorization
+ required: false
+ schema:
+ type: string
requestBody:
content:
application/json:
requestBody:
content:
application/json:
@@
-587,16
+577,6
@@
paths:
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
- "401":
- content:
- application/json:
- example:
- status: 401
- message: Unauthorized error message
- details: Unauthorized error details
- schema:
- $ref: '#/components/schemas/ErrorMessage'
- description: Unauthorized
"403":
content:
application/json:
"403":
content:
application/json:
@@
-649,6
+629,12
@@
paths:
required: true
schema:
type: string
required: true
schema:
type: string
+ - description: Authorization parameter for request.
+ in: header
+ name: Authorization
+ required: false
+ schema:
+ type: string
requestBody:
content:
application/json:
requestBody:
content:
application/json:
@@
-672,16
+658,6
@@
paths:
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
- "401":
- content:
- application/json:
- example:
- status: 401
- message: Unauthorized error message
- details: Unauthorized error details
- schema:
- $ref: '#/components/schemas/ErrorMessage'
- description: Unauthorized
"403":
content:
application/json:
"403":
content:
application/json:
@@
-806,16
+782,6
@@
paths:
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
- "401":
- content:
- application/json:
- example:
- status: 401
- message: Unauthorized error message
- details: Unauthorized error details
- schema:
- $ref: '#/components/schemas/ErrorMessage'
- description: Unauthorized
"403":
content:
application/json:
"403":
content:
application/json:
@@
-883,16
+849,6
@@
paths:
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
- "401":
- content:
- application/json:
- example:
- status: 401
- message: Unauthorized error message
- details: Unauthorized error details
- schema:
- $ref: '#/components/schemas/ErrorMessage'
- description: Unauthorized
"403":
content:
application/json:
"403":
content:
application/json:
@@
-954,16
+910,6
@@
paths:
$ref: '#/components/schemas/RestModuleDefinition'
type: array
description: OK
$ref: '#/components/schemas/RestModuleDefinition'
type: array
description: OK
- "401":
- content:
- application/json:
- example:
- status: 401
- message: Unauthorized error message
- details: Unauthorized error details
- schema:
- $ref: '#/components/schemas/ErrorMessage'
- description: Unauthorized
"403":
content:
application/json:
"403":
content:
application/json:
@@
-1041,16
+987,6
@@
paths:
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
- "401":
- content:
- application/json:
- example:
- status: 401
- message: Unauthorized error message
- details: Unauthorized error details
- schema:
- $ref: '#/components/schemas/ErrorMessage'
- description: Unauthorized
"403":
content:
application/json:
"403":
content:
application/json:
@@
-1104,16
+1040,6
@@
paths:
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
- "401":
- content:
- application/json:
- example:
- status: 401
- message: Unauthorized error message
- details: Unauthorized error details
- schema:
- $ref: '#/components/schemas/ErrorMessage'
- description: Unauthorized
"404":
content:
application/json:
"404":
content:
application/json:
@@
-1167,16
+1093,6
@@
paths:
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
- "401":
- content:
- application/json:
- example:
- status: 401
- message: Unauthorized error message
- details: Unauthorized error details
- schema:
- $ref: '#/components/schemas/ErrorMessage'
- description: Unauthorized
"404":
content:
application/json:
"404":
content:
application/json:
@@
-1254,16
+1170,6
@@
paths:
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
- "401":
- content:
- application/json:
- example:
- status: 401
- message: Unauthorized error message
- details: Unauthorized error details
- schema:
- $ref: '#/components/schemas/ErrorMessage'
- description: Unauthorized
"403":
content:
application/json:
"403":
content:
application/json:
@@
-1327,16
+1233,6
@@
paths:
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
- "401":
- content:
- application/json:
- example:
- status: 401
- message: Unauthorized error message
- details: Unauthorized error details
- schema:
- $ref: '#/components/schemas/ErrorMessage'
- description: Unauthorized
"404":
content:
application/json:
"404":
content:
application/json:
@@
-1399,16
+1295,6
@@
paths:
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
- "401":
- content:
- application/json:
- example:
- status: 401
- message: Unauthorized error message
- details: Unauthorized error details
- schema:
- $ref: '#/components/schemas/ErrorMessage'
- description: Unauthorized
"403":
content:
application/json:
"403":
content:
application/json:
@@
-1645,6
+1531,13
@@
components:
schema:
default: false
type: boolean
schema:
default: false
type: boolean
+ authorizationParamInHeader:
+ description: Authorization parameter for request.
+ in: header
+ name: Authorization
+ required: false
+ schema:
+ type: string
contentParamInHeader:
description: "Content parameter for request, if content parameter is null, default\
\ value is application/json."
contentParamInHeader:
description: "Content parameter for request, if content parameter is null, default\
\ value is application/json."
@@
-1716,16
+1609,6
@@
components:
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
schema:
$ref: '#/components/schemas/ErrorMessage'
description: Bad Request
- Unauthorized:
- content:
- application/json:
- example:
- status: 401
- message: Unauthorized error message
- details: Unauthorized error details
- schema:
- $ref: '#/components/schemas/ErrorMessage'
- description: Unauthorized
Forbidden:
content:
application/json:
Forbidden:
content:
application/json: