Skip to content

move GET /localization response object to schemas #158

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

orolhawion
Copy link

@orolhawion orolhawion commented Mar 4, 2025

When generating code from OpenApi spec files some generators cannot handle inline schemas properly. In this specific case the generator I use does not generate an enum as stated in the spec but simply a string. The content-type is defined as json, but generated client methods just return a string, where the Api returns a Json string, (pract vs. "pract"), which makes it more difficult and error-prone to properly evaluate the Api response.

Moving the enum to schemas avoids this issue. Please consider accepting this PR.

Kind regards,
Martin

@gem-uhe
Copy link
Contributor

gem-uhe commented Apr 8, 2025

I informed the gematik TIM Team about this PR. They will add this topic to the agenda of the next TIM meeting with the TIM providers and manufacturers.

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

Successfully merging this pull request may close these issues.

2 participants