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

Allow undefined routes #21

Merged
merged 3 commits into from
Dec 12, 2024
Merged

Allow undefined routes #21

merged 3 commits into from
Dec 12, 2024

Conversation

TheTeaCat
Copy link
Member

Describe your changes

Implements using the new AllowUndefinedRoutes option in the Go middleware - instead of ignoring its 404 responses - so that response logs reported to the FireTail SaaS platform aren't overwritten with 404s when requests don't match against a route in your OpenAPI spec.

Issue ticket number and link

https://firetail-io.atlassian.net/browse/FIRE-2898

Checklist before requesting a review

  • I have resolved any merge conflicts
  • I have run tests locally and they pass
  • I have linted and auto-formatted the code
  • If there is new or changed functionality, I have added/updated the tests.
  • If there is new or changed functionality, I have added/updated the documentation.

@TheTeaCat TheTeaCat self-assigned this Dec 12, 2024
@rileyfiretail rileyfiretail merged commit 55a0131 into main Dec 12, 2024
1 check passed
@rileyfiretail rileyfiretail deleted the allow-undefined-routes branch December 12, 2024 09:28
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