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
diff --git a/docs/openapi/openapi.yml b/docs/openapi/openapi.yml
index a4a238c..114c521 100644
--- a/docs/openapi/openapi.yml
+++ b/docs/openapi/openapi.yml
@@ -51,22 +51,16 @@
           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':