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: api-platform/api-doc-parser
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: api-platform/api-doc-parser
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fix/hydra-default-accept-header
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Jul 4, 2026

  1. fix(hydra): send default Accept header when options is an empty object

    setHeaders() short-circuited on falsy options.headers, returning a
    plain {} instead of building Headers with the Accept default. This
    broke @api-platform/admin's schemaAnalyzer, which always calls
    getParameters() with an explicit {} (see #177).
    Removed the early return so the function always falls through to the
    Headers/Accept logic, and swapped the headers derivation to avoid
    mutating the caller's options object as a side effect.
    soyuka committed Jul 4, 2026
    Configuration menu
    Copy the full SHA
    468a076 View commit details
    Browse the repository at this point in the history
Loading