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

Irregular use of Capital letters in OpenApi definition and API response #8

Open
sterin71 opened this issue Sep 19, 2020 · 1 comment

Comments

@sterin71
Copy link

I've used Swagger codegen to create a client in Python.

But when implementing the reading of report data I noticed issues with the ReportV1 definition and API response:

  1. The OpenApi ReportV1 definition is not consistent with usage of capital letters, some fields are all lowercase, while some fields use uppercase for first letter in word. BTW also odd anomaly the usage of underscore in this part of definition but not in the rest.

  2. The actually response from the API call is not consistent with the OpenApi definition, which means that the Swagger client can't import the values since the field names doesn't match.

  3. There are two fields that doesn't exist in the OpenApi definition but exists in the API response.

  4. There is one field that doesn't exist in the API response but exists in the definition.

Se attach excel file for details.
API ReportV1 bugs.xlsx

@henrikbergstrom
Copy link
Contributor

Thanks,
We will look at why this happens,
/Henrik

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