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

Add sample values to swagger page #3

Open
RichoDemus opened this issue Mar 18, 2017 · 0 comments
Open

Add sample values to swagger page #3

RichoDemus opened this issue Mar 18, 2017 · 0 comments

Comments

@RichoDemus
Copy link
Owner

RichoDemus commented Mar 18, 2017

Currently the swagger page does not have proper sample/default values for its entities, instead they look like this:

{
  "id": "null",
  "page": "null",
  "data": "null"
}

preferably it would look something like this:

{
  "id": "0cfbef3e-a145-4cb0-b257-f4ce96bce94c",
  "page": 1,
  "data": "{"foo":"baar"}" // or however json in json would look
}

the swagger spec is located at: server/swagger/src/main/resources/api-specification.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant