Skip to content

Conversation

@Ezrahel
Copy link

@Ezrahel Ezrahel commented Mar 1, 2025

#378 Rerouting the swagger endpoint

Description

​- This PR fixes the Swagger UI configuration issue, ensuring that the API documentation correctly renders on the web at /api/docs/index.html. Previously, accessing the Swagger endpoint resulted in incorrect content due to misconfigurations in the route setup.

Related Issue (Link to Github issue)

How Has This Been Tested?


Screenshot 2025-03-01 092009

Screenshot 2025-03-01 092141

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Comment on lines +16 to +17
- url: https://api.golang.boilerplate.hng.tech/api/v1
- url: https://api.golang.boilerplate.hng.tech/api/v1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look for the staging url and add it here, Ask Phoenix

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

Successfully merging this pull request may close these issues.

2 participants