jsnb-devoted commented on issue #50:
URL: 
https://github.com/apache/airflow-client-go/issues/50#issuecomment-3079100667

   We are interested in this because hoping to use terraform with Airflow 3. I 
think that would require the go client be published.
   
   I was able to generate the client with this command:
   ```
   npx @openapitools/openapi-generator-cli generate -i 
https://airflow.apache.org/docs/apache-airflow/3.0.2/_specs/v1-rest-api-generated.yaml
 -g go -o ./airflow-client 
--additional-properties=packageName=airflow,packageVersion=3.0.2,withGoCodegenComment=true,hideGenerationTimestamp=true
 --git-user-id=<username> --git-repo-id=<repo name> --package-name=airflow
   ```
   
   At first glance it looks like there are some errors specifically around 
consts being redefined. For example:
   <img width="469" height="85" alt="Image" 
src="https://github.com/user-attachments/assets/b480ed8c-ec56-4d45-9671-b0ccbfdf8c65";
 />
   
   I haven't gotten any further than that but thought I'd share in case you 
already solved for this.


-- 
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