diff options
author | 2021-07-30 16:25:16 +0100 | |
---|---|---|
committer | 2021-08-10 13:33:52 +0100 | |
commit | 3139ece993c68ce7e40d166acdd5d9572a3a8a1e (patch) | |
tree | 4a9ee12234815d6f5bc14557d5228c53b66f3b81 /docs/openapi/components.yml | |
parent | 2270d76e4f33ad231cdae317e88ea1769297cfec (diff) |
Retrieve yang-resources for one or more modules
Updating openapi to add a new rest endpoint
Updating restconf client to support post with json
Adding a ModuleResourceNotFound exception
Adding a test util class
Fixing merge conflict
Refactoring SDNC operations
Issue-ID: CPS-484
Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: Id76dfe4cb12053771883e0271153d7bf7cd98548
Diffstat (limited to 'docs/openapi/components.yml')
-rw-r--r-- | docs/openapi/components.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/docs/openapi/components.yml b/docs/openapi/components.yml index f38ed64b..c67dad69 100644 --- a/docs/openapi/components.yml +++ b/docs/openapi/components.yml @@ -19,6 +19,30 @@ components: items: type: string + ModuleRequestParent: + type: object + properties: + operation: + type: string + enum: [read] + data: + type: object + properties: + modules: + type: array + items: + type: object + properties: + name: + type: string + revision: + type: string + cmHandleProperties: + type: object + additionalProperties: + type: string + example: system-001 + responses: NotFound: description: The specified resource was not found @@ -65,3 +89,12 @@ components: NoContent: description: No Content content: {} + + parameters: + cmHandleInPath: + name: cmHandle + in: path + description: The identifier for a network function, network element, subnetwork, or any other cm object by managed Network CM Proxy + required: true + schema: + type: string
\ No newline at end of file |