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

File not found when using uri #258

Closed
SWarnberg opened this issue Dec 22, 2023 · 2 comments
Closed

File not found when using uri #258

SWarnberg opened this issue Dec 22, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@SWarnberg
Copy link

Describe the bug
When using a URI as input to Refitter, a File not found exception is thrown.

Example:
refitter https://myservice.azurewebsites.net/swagger/v1/swagger.json

When downloading the same json locally it works. Also, executing curl https://myservice.azurewebsites.net/swagger/v1/swagger.json works too.

@SWarnberg SWarnberg added the bug Something isn't working label Dec 22, 2023
@christianhelle
Copy link
Owner

@SWarnberg thanks for taking the time to report this

I tried the URI in the description but got an HTTP 403 response. Did you stop the app service?

What version of Refitter are you using?

Do you have a support key?

Do you know if the URI to the OpenAPI spec returns a redirect response?

@SWarnberg
Copy link
Author

Sorry, I realized I was using a wrong command session with an old version of Refitter. The latest version works great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants