diff options
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': |