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

client: provide access to info of OpenAPI #88

Closed
fklebert opened this issue Oct 26, 2022 · 1 comment · Fixed by #91
Closed

client: provide access to info of OpenAPI #88

fklebert opened this issue Oct 26, 2022 · 1 comment · Fixed by #91
Labels
C++ 🐺 This issue affects the zswag C++ client.
Milestone

Comments

@fklebert
Copy link
Contributor

As the OpenAPI generator now supports adding a base yaml with an OpenAPI info section, it would be awesome to get this also in the client code.

// Fetch the OpenAPI configuration using the HTTP client
    auto openApiConfig = fetchOpenAPIConfig(openApiUrl, *httpClient);

I would assume that the above call would give me access to it.

@josephbirkner
Copy link
Collaborator

I see, interesting idea. I guess it might make sense to just provide access to the full original OpenAPI YAML as it was loaded from the server. Then the API will be straightforward.

@josephbirkner josephbirkner added the C++ 🐺 This issue affects the zswag C++ client. label Nov 10, 2022
@josephbirkner josephbirkner added this to the 1.4.0 milestone Nov 10, 2022
@josephbirkner josephbirkner mentioned this issue Nov 24, 2022
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ 🐺 This issue affects the zswag C++ client.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants