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:
"put": {
"operationId": "foo",
"consumes": ["application/json"],
"produces": ["application/json"],
"responses": { ... }
}
Generation Details
Steps to reproduce
Related issues/PRs
Suggest a fix
I'll submit a pull request to fix this.
Bug Report Checklist
Description
When an operation definition consumes an
application/jsonwithout specific parameter,the Ada skeleton that is generated does not compile.
The Ada skeleton is missing a
use Swagger.Streamsstatement 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.