Fix swagger definitions
alexcos20 opened this issue · 0 comments
alexcos20 commented
- invalid specs
{"messages":["attribute info.connected is unexpected","attribute paths.'/api/aquarius/assets/ddo/{did}'(get).responses.200.content is unexpected","attribute paths.'/api/aquarius/assets/ddo/{did}'(get).responses.200.example is unexpected","attribute paths.'/api/aquarius/assets/metadata/{did}'(get).responses.200.example is unexpected","attribute paths.'/api/aquarius/assets/names'(post).responses.200.example is unexpected","attribute paths.'/api/aquarius/assets/triggerCaching'(post).[transactionId].in is missing","attribute paths.'/api/aquarius/assets/triggerCaching'(post).[logIndex].in is missing"],"schemaValidationMessages":[{"level":"error","domain":"validation","keyword":"additionalProperties","message":"object instance has properties which are not allowed by the schema: [\"connected\"]","schema":{"loadingURI":"http://swagger.io/v2/schema.json#","pointer":"/definitions/info"},"instance":{"pointer":"/info"}}]}
- some routes are missing params (ex: state/ddo)