Closed HEM42 closed 4 years ago
This doesn't fix the placement of the object under #/definitions/ when rendered, this is an issue with JSON::Validator (which Im currently trying to make a pr for as well)
I think this PR contains more than what the title says, but I'll take it anyways, after the requested work.
I have updated the description, so it reflects the changes, sorry about that
Summary
The type of object created for the default response, is created as a Schema object, not a response object.
Also clean out a few keys that does not belong in OpenAPI spec v3
Motivation
Place the created default schema in the correct place as described in v3 specification, but also removal of few keys which does not belong there
References