If the API documentation has basic authorization #565
-
My API documentation on swagger has a basic authorization. Does Portman support it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The CLI does a simple fetch to remotely get the file. The basic auth that protects the OpenAPI file will prevent that. You could write a simple bash or node script to download the file first using with the basic auth and next pass the downloaded file to Portman for further processing. |
Beta Was this translation helpful? Give feedback.
-
HI @thim81 |
Beta Was this translation helpful? Give feedback.
HI @thim81
Thank you for your answer. I ended up making a node script that downloads file locally then sends to portman for processing and it works fine, thank you :)