You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/08/01 20:37:02 UTC

[GitHub] [airflow] pateash commented on pull request #17174: Fix Basic Auth Failure OpenApi codegen

pateash commented on pull request #17174:
URL: https://github.com/apache/airflow/pull/17174#issuecomment-890582941


   @mik-laj I am also trying to resolve the same issue. In Docs https://swagger.io/docs/specification/authentication/
   It clearly mentioned 
   
   > After you have defined the security schemes in the securitySchemes section, you can apply them to the whole API or individual operations by adding the security section on the root level or operation level,
   
   ![image](https://user-images.githubusercontent.com/16856802/127784554-bf63e733-70a3-4b8e-b238-4ba7b14d49a0.png)
   
   @msumit @kaxil I am not sure, how this is working In Python.
   
   It's working for me in Java, after defining schemaSchemas in spec file.
   
   ![image](https://user-images.githubusercontent.com/16856802/127784606-77a0ee82-112c-40df-8df8-d569ad42cea4.png)
   
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org