diff options
author | 2021-08-11 16:13:53 +0100 | |
---|---|---|
committer | 2021-08-18 10:34:58 +0100 | |
commit | 577efb09a39282c608b53a3099b7edc95954f9c2 (patch) | |
tree | efc72509fd6b46c296446ef3958db2b594979751 /docs/openapi/openapi.yml | |
parent | e398be5923a47650b109512c795244cdc2b5eb10 (diff) |
Transform module information from NetConf node to Generic format for NCMP
Issue-ID: CPS-531
Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: I918be4db5066d92b23e25fc7fbc22d4535fafc8c
Diffstat (limited to 'docs/openapi/openapi.yml')
-rw-r--r-- | docs/openapi/openapi.yml | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/docs/openapi/openapi.yml b/docs/openapi/openapi.yml index a4a238c4..114c521e 100644 --- a/docs/openapi/openapi.yml +++ b/docs/openapi/openapi.yml @@ -51,22 +51,16 @@ paths: content: application/json: schema: - type: string + $ref: 'components.yml#/components/schemas/ModuleSet' example: { - 'schemas': { - 'schema': [ - { - 'identifier': 'example-identifier', - 'version': 'example-version', - 'format': 'example-format', - 'namespace': 'example:namespace', - 'location': [ - 'example-location' - ] - } - ] - } - } + "schemas": [ + { + "moduleName": "example-identifier", + "revision": "example-version", + "namespace": "example-namespace" + } + ] + } '400': $ref: 'components.yml#/components/responses/BadRequest' '401': |