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

Incorrect base URL in OpenAPI documentation produces incorrect production URLs #111

Closed
KrofDrakula opened this issue Jul 28, 2023 · 4 comments
Labels
documentation Improvements or additions to documentation

Comments

@KrofDrakula
Copy link

Explain the changes

The published API documentation has incorrect base URL set which makes the published OpenAPI documentation show the incorrect production API URLs for dev.to:

image

All of the URLs should be prefixed with https://dev.to, not https://dev.to/api, which is why the generated URLs duplicate the api/ part of the path and makes copy/pasting the URL incorrect.

Suggested changes

Change the base URL for generating the published OpenAPI docs match the actual production URLs.

@mirie mirie added the documentation Improvements or additions to documentation label Sep 18, 2023
@mirie mirie moved this to Todo in Hacktoberfest 2023 Sep 18, 2023
@AneeqaKhan
Copy link

Hello, I can work on this. Please assign it to me.

@AnthonyZhang220
Copy link
Contributor

It's been a few months now. Do you have any updates on the issue? I could help to work on it as well.

@AneeqaKhan
Copy link

Yes please, assign it to yourself.

@maestromac
Copy link
Contributor

Resolved with #124

@github-project-automation github-project-automation bot moved this from Todo to Done in Hacktoberfest 2023 Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Development

No branches or pull requests

5 participants