zach-overflow commented on issue #73661:
URL: https://github.com/apache/airflow/issues/73661#issuecomment-6371043625

   @kadubhumika looks like [openapi-generator 
`7.26.0`](https://github.com/OpenAPITools/openapi-generator/releases/tag/v7.26.0)
 was released, which added `httpx2` support. Feel free to take a shot at it. 
Two things I think you'll need to watch out for and account for in your 
implementation:
   1. The openapi-generator, as far as I'm aware, does not natively have a way 
of merging the identical pydantic model class definitions from the sync and 
async parts of the generated library, so you will likely need to add a minor 
post-processing step which ensures both the sync and the async code imports the 
same model definitions. 
   2. Similarly, the openapi-generator might have some odd function and method 
renaming if you enable both sync and async pathways. If that's the case, you'll 
want to make sure that the sync methods/functions are not changed compared to 
the current python client offering. If the tool does change the function/method 
names, then you'll need to either adjust the openapi-generator-cli's templating 
options, or again do some post-processing on the output files.


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