uranusjr commented on issue #15072:
URL: https://github.com/apache/airflow/issues/15072#issuecomment-940774908


   If `x-openapi-router-controller` doesn't work well, we can always do some 
manual plumbing to get the method out. Something like
   
   ```python
   class UserEndpoint(Endpoint):
       def get(self, ...):
           ...
   
       def post(self, ...):
           ...
   
   get_user = route(UserEndpoint, "get")
   post_user = route(UserEndpoint, "post")
   ```


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