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: getkin/kin-openapi
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.137.0
Choose a base ref
...
head repository: getkin/kin-openapi
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.138.0
Choose a head ref
  • 6 commits
  • 94 files changed
  • 5 contributors

Commits on May 3, 2026

  1. openapi3gen: clear nullable on exported component bodies

    When a struct is reached via *T, generateSchemaRefFor sets
    schema.Nullable=true to encode nullability of that one reference site.
    With ExportComponentSchemas on, that same body becomes the canonical
    component definition shared by every $ref site, so the nullable flag
    leaks into the component itself. Codegen tools (Orval, openapi-typescript)
    then emit broken types like `interface Foo {...} | null`.
    
    Clear the flag right before registering the schema as a component.
    0-don authored and fenollp committed May 3, 2026
    Configuration menu
    Copy the full SHA
    3342b7c View commit details
    Browse the repository at this point in the history

Commits on May 4, 2026

  1. Configuration menu
    Copy the full SHA
    4ddafd1 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2026

  1. test: move public-API tests to external _test packages (#1168)

    Co-authored-by: Tommy Nacass <tommy.nacass@gmail.com>
    fenollp and cloudnativeninja authored May 7, 2026
    Configuration menu
    Copy the full SHA
    3405d3b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    03ab662 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2026

  1. Configuration menu
    Copy the full SHA
    72d9005 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d237575 View commit details
    Browse the repository at this point in the history
Loading