APIDiscoverer icon indicating copy to clipboard operation
APIDiscoverer copied to clipboard

Schema.$ref property in generated responses

Open MikeRalphson opened this issue 7 years ago • 1 comments

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"
      }
   }
} 

MikeRalphson avatar May 17 '17 10:05 MikeRalphson