potiuk commented on PR #49287:
URL: https://github.com/apache/airflow/pull/49287#issuecomment-2804787719

   It seems this is a bug in redoc. Generated documetnation is rendered from 
spec and both spec are placed in the same place and have the same name:
   
   ````
       <script>
           
           var spec = "../../../_specs/v1-generated.yaml";
           
           Redoc.init(spec);
       </script>`
   ```
   
   We should change name of one of the two files:
   
   ```
   main_openapi_path = 
Path(main_openapi_file).parent.joinpath("v1-generated.yaml")
   sam_openapi_path = 
Path(sam_openapi_file).parent.joinpath("v1-generated.yaml")
   ```
   


-- 
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-unsubscr...@airflow.apache.org

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

Reply via email to