Skip to content

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

@stcarrez

Description

@stcarrez

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions