Forum Discussion
- AdaDaddyNew Contributor
I have found https://github.com/stcarrez/swagger-ada which contains a tutorial at https://github.com/stcarrez/swagger-ada/blob/master/docs/Tutorial.md .
I am about to try this method.
- chichepoChampion Level 2
AdaDaddy
As far as I know, SwaggerHub does not include ADA in its language support for Client/Server generation (refer to this page for further details).
In my company, they are using codegen-cli.
I am not sure about the exact syntax and I never tried it myself but I found these examples (swagger 2.0):
Client generation:java -jar swagger-codegen-cli.jar generate -l ada -i CalcAndSearch.yaml \ -DprojectName=SeriesLaunch --model-package PackagingOne
Server generation:
java -jar swagger-codegen-cli.jar generate -l ada-north-srv -i CalcAndSearch.yaml \ -DprojectName=SeriesLaunch --model-package PackagingOne
We will be happy to get this option from SwaggerHub as well 😉
- CrosslandsaNew Member
I'm especially stayed aware of the article and I will get many benefits from it. Subsequently, thank you for sharing it.
AdaDaddy wrote:I saw on your GitHub that the Ada language is supported by the Codegen tool. How do I choose Ada to generate a server code stub?
Related Content
- 3 months ago
- 4 years ago
Recent Discussions
- 2 months ago
- 2 months ago