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

[Ada][REQ] Allow to customize the support library used in generated Ada client and server code #11748

Closed
stcarrez opened this issue Feb 28, 2022 · 0 comments

Comments

@stcarrez
Copy link
Contributor

Describe the solution you'd like

The Ada code generator can be customized to use a user provided Ada package name.

  • the openApiName option can be used to choose the Ada package name of the support library. The default is Swagger and I want to change it to OpenAPI for example.
  • the httpSupport option can be used to choose between the Curl or AWS (Ada Web Server) support for the client

Describe alternatives you've considered

An alternative could be to write another code generator (similar to some other languages which provide a code generator for each different runtime library). The option approach is easier and brings the required flexibility.

Additional context

Pull request will be submitted soon.

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

2 participants