Skip to content

Conversation

@bkoelman
Copy link
Contributor

@bkoelman bkoelman commented Dec 6, 2025

Adds a public method to change the ID of a schema in the repository after generation.

Closes #3707.

@codecov
Copy link

codecov bot commented Dec 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.67%. Comparing base (c2cfe84) to head (e4d5879).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3708      +/-   ##
==========================================
+ Coverage   94.66%   94.67%   +0.01%     
==========================================
  Files         111      111              
  Lines        3858     3868      +10     
  Branches      778      780       +2     
==========================================
+ Hits         3652     3662      +10     
  Misses        206      206              
Flag Coverage Δ
Linux 94.67% <100.00%> (+0.01%) ⬆️
Windows 94.67% <100.00%> (+0.01%) ⬆️
macOS 94.67% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bkoelman bkoelman force-pushed the replace-schema-id branch 4 times, most recently from 4280dda to 9765b80 Compare December 6, 2025 03:06
@bkoelman bkoelman marked this pull request as ready for review December 6, 2025 03:31
Copy link
Collaborator

@martincostello martincostello left a comment

Choose a reason for hiding this comment

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

As this PR is adding a new public API, please update the version to 10.1.0 here:

<VersionPrefix>10.0.2</VersionPrefix>

@martincostello martincostello added this to the v10.1.0 milestone Dec 9, 2025
@martincostello martincostello added the version-minor A change suitable for release in a minor version label Dec 9, 2025
This was referenced Jan 4, 2026
wengwalker added a commit to wengwalker/Items-shop that referenced this pull request Jan 10, 2026
Updated
[Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore)
from 10.0.1 to 10.1.0.

<details>
<summary>Release notes</summary>

_Sourced from [Swashbuckle.AspNetCore's
releases](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)._

## 10.1.0

## What's Changed

### New Features

* Add public method `SchemaRepository.ReplaceSchemaId` by @​bkoelman in
domaindrivendev/Swashbuckle.AspNetCore#3708

### Bug Fixes

* Exclude inherited properties only when base added to `AllOf` by
@​John-Paul-R in
domaindrivendev/Swashbuckle.AspNetCore#3692

### Miscellaneous

* Add clarifying example in migration guide to v10 by @​markuspalme in
domaindrivendev/Swashbuckle.AspNetCore#3672
* Add markdown linter by @​martincostello in
domaindrivendev/Swashbuckle.AspNetCore#3673
* Update dependencies by @​martincostello in
domaindrivendev/Swashbuckle.AspNetCore#3685
* Validate OpenAPI documents create valid C# clients by @​martincostello
in domaindrivendev/Swashbuckle.AspNetCore#3686
* End-to-end client validation tests by @​martincostello in
domaindrivendev/Swashbuckle.AspNetCore#3687
* Add NSwag client test by @​martincostello in
domaindrivendev/Swashbuckle.AspNetCore#3689
* Fix GitHub step summaries by @​martincostello in
domaindrivendev/Swashbuckle.AspNetCore#3691
* Clarify compatibility by @​martincostello in
domaindrivendev/Swashbuckle.AspNetCore#3694
* Update zizmor by @​martincostello in
domaindrivendev/Swashbuckle.AspNetCore#3695
* Suppress zizmor false-positive by @​martincostello in
domaindrivendev/Swashbuckle.AspNetCore#3696
* Refactor tests by @​martincostello in
domaindrivendev/Swashbuckle.AspNetCore#3705
* Use NuGet Trusted Publishing by @​martincostello in
domaindrivendev/Swashbuckle.AspNetCore#3574
* Annotate `TryLookupByType` with nullability hints by @​martincostello
in domaindrivendev/Swashbuckle.AspNetCore#3719
* Bump swagger-ui-dist to 5.31.0 by @​dependabot in
domaindrivendev/Swashbuckle.AspNetCore#3720

## New Contributors

* @​markuspalme made their first contribution in
domaindrivendev/Swashbuckle.AspNetCore#3672
* @​John-Paul-R made their first contribution in
domaindrivendev/Swashbuckle.AspNetCore#3692

**Full Changelog**:
domaindrivendev/Swashbuckle.AspNetCore@v10.0.1...v10.1.0


Commits viewable in [compare
view](domaindrivendev/Swashbuckle.AspNetCore@v10.0.1...v10.1.0).
</details>

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Swashbuckle.AspNetCore&package-manager=nuget&previous-version=10.0.1&new-version=10.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@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)


</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

version-minor A change suitable for release in a minor version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature request]: Add API to change schema ID

2 participants