ericBenchant opened a new issue, #72466:
URL: https://github.com/apache/airflow/issues/72466

   ### Under which category would you file this issue?
   
   Task SDK
   
   ### Apache Airflow version
   
   3.3.1
   
   ### What happened and how to reproduce it?
   
   Using the [OpenAPI 
generator](https://openapi-generator.tech/docs/installation/) and the [Airflow 
OpenAPI](https://airflow.apache.org/docs/apache-airflow/stable/stable-rest-api-ref.html)
 with the following command:
   ```
   java -jar codegen/openapi-generator-cli.jar generate -i openapi/openapi.yaml 
-g java -c codegen/java-client-config.json -o . --global-property 
modelTests=false --global-property apiTests=false
   ```
   I generated a java client, but there were a lot of errors in multiple 
generated classes. Most of them are comments that get closed too early:
   ```java
   /**
        * Build call for getConfig
        * @param section  (optional)
        * @param accept  (optional, default to */*)
        * @param _callback Callback for upload/download progress
        * @return Call to execute
        * @throws ApiException If fail to serialize the request body object
        * @http.response.details
        <table border="1">
          <caption>Response Details</caption>
           <tr><td> Status Code </td><td> Description </td><td> Response 
Headers </td></tr>
           <tr><td> 200 </td><td> Successful Response </td><td>  -  </td></tr>
           <tr><td> 401 </td><td> Unauthorized </td><td>  -  </td></tr>
           <tr><td> 403 </td><td> Forbidden </td><td>  -  </td></tr>
           <tr><td> 404 </td><td> Not Found </td><td>  -  </td></tr>
           <tr><td> 406 </td><td> Not Acceptable </td><td>  -  </td></tr>
           <tr><td> 422 </td><td> Validation Error </td><td>  -  </td></tr>
        </table>
        */
   ```
   But there are also some more severe problems in other classes.
   
   ### What you think should happen instead?
   
   The generated classes should not have any errors.
   
   ### Operating System
   
   Fedora Linux (42)
   
   ### Deployment
   
   None
   
   ### Apache Airflow Provider(s)
   
   _No response_
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Official Helm Chart version
   
   Not Applicable
   
   ### Kubernetes Version
   
   _No response_
   
   ### Helm Chart configuration
   
   _No response_
   
   ### Docker Image customizations
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to