list required modules in get_modules_info method

This commit is contained in:
Maxim Merzhanov committed 2020-06-02 17:06:02 +03:00
1 parent 83176ba878
commit 628c506e85
5 files changed
+124 -48

No files matched your search

+38 -22
View File
@@ -78,6 +78,10 @@ definitions:
type: string
libVersion:
type: string
requiredModules:
items:
$ref: '#/definitions/domain.ModuleDependency'
type: array
version:
type: string
type: object
@@ -139,6 +143,15 @@ definitions:
required:
- moduleName
type: object
domain.ModuleDependency:
properties:
id:
type: string
name:
type: string
required:
type: boolean
type: object
domain.ModuleInfo:
properties:
active:
@@ -261,9 +274,8 @@ definitions:
description: RFC draft-wright-json-schema-00
type: string
additionalItems:
$ref: '#/definitions/jsonschema.Type'
description: section 5.9
type: object
type: integer
additionalProperties:
$ref: '#/definitions/json.RawMessage'
description: section 5.18
@@ -271,12 +283,12 @@ definitions:
allOf:
description: section 5.22
items:
$ref: '#/definitions/jsonschema.Type'
type: integer
type: array
anyOf:
description: section 5.23
items:
$ref: '#/definitions/jsonschema.Type'
type: integer
type: array
binaryEncoding:
description: section 4.3
@@ -310,9 +322,8 @@ definitions:
description: section 7
type: string
items:
$ref: '#/definitions/jsonschema.Type'
description: section 5.9
type: object
type: integer
maxItems:
description: section 5.10
type: integer
@@ -326,9 +337,8 @@ definitions:
description: section 5.2
type: integer
media:
$ref: '#/definitions/jsonschema.Type'
description: RFC draft-wright-json-schema-hyperschema-00, section 4
type: object
type: integer
minItems:
description: section 5.11
type: integer
@@ -345,13 +355,12 @@ definitions:
description: RFC draft-wright-json-schema-validation-00, section 5
type: integer
not:
$ref: '#/definitions/jsonschema.Type'
description: section 5.25
type: object
type: integer
oneOf:
description: section 5.24
items:
$ref: '#/definitions/jsonschema.Type'
type: integer
type: array
pattern:
description: section 5.8
@@ -390,9 +399,8 @@ definitions:
description: RFC draft-wright-json-schema-00
type: string
additionalItems:
$ref: '#/definitions/jsonschema.Type'
description: section 5.9
type: object
type: integer
additionalProperties:
$ref: '#/definitions/json.RawMessage'
description: section 5.18
@@ -400,12 +408,12 @@ definitions:
allOf:
description: section 5.22
items:
$ref: '#/definitions/jsonschema.Type'
type: integer
type: array
anyOf:
description: section 5.23
items:
$ref: '#/definitions/jsonschema.Type'
type: integer
type: array
binaryEncoding:
description: section 4.3
@@ -440,9 +448,8 @@ definitions:
description: section 7
type: string
items:
$ref: '#/definitions/jsonschema.Type'
description: section 5.9
type: object
type: integer
maxItems:
description: section 5.10
type: integer
@@ -456,9 +463,8 @@ definitions:
description: section 5.2
type: integer
media:
$ref: '#/definitions/jsonschema.Type'
description: RFC draft-wright-json-schema-hyperschema-00, section 4
type: object
type: integer
minItems:
description: section 5.11
type: integer
@@ -475,13 +481,12 @@ definitions:
description: RFC draft-wright-json-schema-validation-00, section 5
type: integer
not:
$ref: '#/definitions/jsonschema.Type'
description: section 5.25
type: object
type: integer
oneOf:
description: section 5.24
items:
$ref: '#/definitions/jsonschema.Type'
type: integer
type: array
pattern:
description: section 5.8
@@ -533,6 +538,10 @@ definitions:
type: string
moduleName:
type: string
requiredModules:
items:
$ref: '#/definitions/structure.ModuleDependency'
type: array
version:
type: string
type: object
@@ -561,6 +570,13 @@ definitions:
errorMessage:
type: string
type: object
structure.ModuleDependency:
properties:
name:
type: string
required:
type: boolean
type: object
host: localhost:9003
info:
contact: {}