Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add support for loading OAS contract from URL #153

Open
matteus6007 opened this issue Jan 26, 2024 · 1 comment
Open

feat: Add support for loading OAS contract from URL #153

matteus6007 opened this issue Jan 26, 2024 · 1 comment

Comments

@matteus6007
Copy link

Currently you only allow loading OAS contract from a file path, I require loading from a URL such as http://my-api.com/swagger/v1/swagger.json as the contract is dynamically created based on the models in the API.

@bethesque
Copy link
Member

For the moment, your best bet is to use an HTTP client download the OAS to the machine where the publish command is running, and then publish it from the file path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants