← Back to team overview

sts-sponsors team mailing list archive

Re: [Merge] ~lloydwaltersj/maas:oapi-include-more-methods into maas:master

 

: {'content': {'application/json': {'schema': {'additionalProperties': {'type': 'string'}, 'properties': {'id': {'description': 'The logical volume id.', 'type': 'integer'}, 'system_id': {'description': 'The machine system_id containing the volume group.', 'type': 'string'}}, 'required': ['system_id', 'id', 'id'], 'type': 'object'}}}, 'required': True} is not valid under any of the given schemas
   Failed validating 'oneOf' in schema['properties']['paths']['patternProperties']['^\\/']['patternProperties']['^(get|put|post|delete|options|head|patch|trace)$']['properties']['requestBody']:
       {'oneOf': [{'$ref': '#/definitions/RequestBody'},
                  {'$ref': '#/definitions/Reference'}]}
   On instance['paths']['/nodes/{system_id}/volume-group/{id}/op-delete_logical_volume']['post']['requestBody']:
       {'content': {'application/json': {'schema': {'additionalProperties': {'type': 'string'},
                                                    'properties': {'id': {'description': 'The '
                                                                                         'logical '
                                                                                         'volume '
                                                                                         'id.',
                                                                          'type': 'integer'},
                                                                   'system_id': {'description': 'The '
                                                                                                'machine '
                                                                                                'system_id '
                                                                                                'containing '
                                                                                                'the '
                                                                                                'volume '
                                                                                                'group.',
                                                                                 'type': 'string'}},
                                                    'required': ['system_id',
                                                                 'id',
                                                                 'id'],
                                                    'type': 'object'}}},
        'required': True}

-- 
https://code.launchpad.net/~lloydwaltersj/maas/+git/maas/+merge/438116
Your team MAAS Maintainers is requested to review the proposed merge of ~lloydwaltersj/maas:oapi-include-more-methods into maas:master.



References