8000 feat: support for use-httprouter-in-std-http-server in compatibility-options to allow to use github.com/julienschmidt/httprouter by szarowski · Pull Request #2189 · oapi-codegen/oapi-codegen · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@szarowski
Copy link

Adding support for github.com/julienschmidt/httprouter in StdHttpServer

I’d like to ask you for review of PR of the feature to add support for github.com/julienschmidt/httprouter in StdHttpServer.
It is implemented in such way that if a new flag use-httprouter-in-std-http-server in CompatibilityOptions is set to true, the updated code is generated.
The tests and examples are included.
Let me know if the way I trigger is correct and suggest a better approach if any.

Thank you,

Roman

…options to allow to use github.com/julienschmidt/httprouter
@szarowski szarowski requested a review from a team as a code owner January 26, 2026 18:25
@socket-security
Copy link
socket-security bot commented Jan 26, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedgithub.com/​julienschmidt/​httprouter@​v1.3.09910010075100

View full report

Copy link
Member
@jamietanna jamietanna left a comment

Choose a reason for hiding this comment

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

Thanks for this - I'd say this should be under output-options instead, after which this looks reasonable

Can we also make sure the JSON Schema is updated?

@szarowski szarowski requested a review from jamietanna January 26, 2026 20:13
@szarowski
Copy link
Author

Thanks for this - I'd say this should be under output-options instead, after which this looks reasonable

Can we also make sure the JSON Schema is updated?

Thank you for output-options instead of compatibility. I updated JSON Schema (configuration-schema.json file) and I don't know about any other I should update.. I am probably missing something.. Please be more specific if it is this case.

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

0