APIDiscoverer
APIDiscoverer copied to clipboard
Schema.$ref property in generated responses
The API definitions in the HAPI collection often show this problem:
"responses": {
"200": {
"description":null,
"schema":"#/definitions/Resource"
}
}
It should be
"responses": {
"200": {
"description":"",
"schema": {
"$ref": "#/definitions/Resource"
}
}
}
Thank you for reporting this issue. I'll fix my serialization process and correct the affected APIs.