Skip to content

build(deps-dev): bump zircote/swagger-php from 7.0.0 to 7.1.0 - #4868

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/zircote/swagger-php-7.1.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/zircote/swagger-php-7.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 10, 2026

Copy link
Copy Markdown
Contributor

Bumps zircote/swagger-php from 7.0.0 to 7.1.0.

Release notes

Sourced from zircote/swagger-php's releases.

7.1.0

7.1 is about components: how they are named, how a class is matched to them, and which ones Cleanup keeps. Everything below applies to spec and hybrid mode. Classic mode is unchanged.

Two changes affect the generated document. Changed output in 7.1 has the details.

Changed output

  • A path parameter defaults to required: true, as OpenAPI requires. A path parameter set to anything else logs a warning (#2338)
  • A class with more than one component in a bucket no longer stands for whichever was indexed last. A $ref given as the class, or a property typed with it, resolves to none of them and logs a warning. A property typed with a class that has a schema references the schema, not a component in another bucket (#2342)

New

  • Component namer. Builder::setComponentNamer() and --component-namer choose how components without an explicit name are named. ShortName is the default, QualifiedName uses the whole class name, so two classes that share a short name no longer claim one name, and a custom namer implements ComponentNamerInterface (#2341, docs)
  • Describing a class more than once. A component can carry a key of its class plus qualifiers, for example one per serialization group, and a Schema\Ref with the same qualifiers references it. In an augmenter, ComponentIndex::findByKey() and findAllByKey() look components up by key (#2342, docs)
  • Keeping a component. Cleanup keeps a component whose meta value under Cleanup::class is false, referenced or not. The meta key is configurable as cleanup.metaKey (#2339)
  • RefInterface. Every spec attribute with a ref implements Contracts\RefInterface, with getRefValue(), getRefKey() and setRef() (#2343)

Fixes

The fixes from 6.20.1 are in 7.1 as well: #2328, #2330, #2331, #2333 and #2334.

Deprecated, removed in 8.0

  • ComponentIndex::buildRefMap(). Use ComponentIndex::findByKey(), which takes the bucket a use means
  • OpenApi31Compiler::refString(). Use RefInterface::getRefValue() on the attribute that holds the ref

Docs

  • A cookbook recipe for building parts of a document to use in another one (#2336)
  • openapi-json-schema is listed on the related projects page, and the openapi-router entry now says it reads spec attributes (#2340, #2332)

What's Changed

New Contributors

Full Changelog: zircote/swagger-php@7.0.0...7.1.0

Commits
  • 34ed0b2 refactor(Spec): give attributes that carry a ref an interface (#2343)
  • b43e9ad feat(Specification): look components up by a key of class and qualifiers (#2342)
  • bb8daee Default a path parameter to required and warn about one that is not (#2338)
  • fad435b feat(Builder): name components through a replaceable namer (#2341)
  • 4abb3d1 docs(Related): list openapi-json-schema (#2340)
  • 88c543c Keep a component marked with false under a configurable meta key in Cleanup (...
  • f33f334 docs(Cookbook): build parts of a document for another one (#2336)
  • 0943dd2 fix(Analysers): a class-level attribute that no parent has room for goes to t...
  • df6c456 fix(Specification): read a component key assigned after construction (#2333)
  • 41537d1 fix(Augmenter): resolve class names in a nested schema's discriminator mappin...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [zircote/swagger-php](https://github.com/zircote/swagger-php) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/zircote/swagger-php/releases)
- [Commits](zircote/swagger-php@7.0.0...7.1.0)

---
updated-dependencies:
- dependency-name: zircote/swagger-php
  dependency-version: 7.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file PHP Pull requests that update Php code labels Nov 10, 2026
@coderabbitai

coderabbitai Bot commented Nov 10, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: af2d83e3-1bd2-449a-82c1-cc9969ed6ff6

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@dependabot @github

dependabot Bot commented on behalf of github Nov 12, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #4879.

@dependabot dependabot Bot closed this Nov 12, 2026
@dependabot
dependabot Bot deleted the dependabot/composer/zircote/swagger-php-7.1.0 branch November 12, 2026 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file PHP Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants