You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…hen an operation has no parameter
- add missing 'use Swagger.Streams;' clause
- add Style_Checks pragma to fix style compilation warnings in generated Ada code
- fix spurious spaces in licence headers that cause Ada style compilation warning
- update the default GNAT project config
…tion has no parameter (#8641)
- add missing 'use Swagger.Streams;' clause
- add Style_Checks pragma to fix style compilation warnings in generated Ada code
- fix spurious spaces in licence headers that cause Ada style compilation warning
- update the default GNAT project config
Bug Report Checklist
Description
When an operation definition consumes an
application/json
without specific parameter,the Ada skeleton that is generated does not compile.
The Ada skeleton is missing a
use Swagger.Streams
statement so it can be fixed by hand.The Ada generated code also produces several compilation warnings that we can fix.
openapi-generator version
5.0 and 5.1
OpenAPI declaration file content or url
I put below an extract of such definition:
Generation Details
Steps to reproduce
Related issues/PRs
Suggest a fix
I'll submit a pull request to fix this.
The text was updated successfully, but these errors were encountered: