Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: oapi-codegen/oapi-codegen
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 19c6282
Choose a base ref
...
head repository: oapi-codegen/oapi-codegen
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c5590db
Choose a head ref
  • 1 commit
  • 9 files changed
  • 2 contributors

Commits on Jul 6, 2026

  1. Make sure to escape user strings (#2433)

    Spec-derived paths and string enum values were interpolated into generated
    Go source without escaping, so a value containing a quote could produce
    malformed output. Route paths in the server registration templates and
    string enum constants are now emitted through strconv.Quote (the existing
    toGoString helper) so they are always valid, properly-escaped Go string
    literals. Generated output is unchanged for normal specs.
    
    Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
    mromaszewicz and claude committed Jul 6, 2026
    Configuration menu
    Copy the full SHA
    c5590db View commit details
    Browse the repository at this point in the history
Loading