Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema.$ref property in generated responses #1

Open
MikeRalphson opened this issue May 17, 2017 · 1 comment
Open

Schema.$ref property in generated responses #1

MikeRalphson opened this issue May 17, 2017 · 1 comment
Assignees

Comments

@MikeRalphson
Copy link

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"
      }
   }
} 
@hamzaed
Copy link
Collaborator

hamzaed commented May 17, 2017

Thank you for reporting this issue. I'll fix my serialization process and correct the affected APIs.

@hamzaed hamzaed self-assigned this May 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants