NJsonSchema generator settings moved from being directly on the generator settings to the "SchemaSettings" property.
nswag.json now only supports .csproj based specification generation (reflection/assembly based removed, only aspnetcore2openapi)
Now only supports .NET Standard 2.0, .NET 4.6.2, .NET Core 3.1, .NET 5, .NET 7 and up
Requires latest Newtonsoft.Json v13.0.0.3
Removed many deprecated properties, settings and methods (marked a long time as obsolete)
Removed WebApiToOpenApiCommand:
Use the WebApiOpenApiDocumentGenerator to build your own CLI referencing controllers project to generate OpenAPI without starting the app
Renamed UseSwaggerUi3 to UseSwaggerUi (v2 has been removed)
NJsonSchema v11
Breaking changes
All Newtonsoft.Json based generators, converters (e.g. JsonInheritance) moved to NJsonSchema.NewtonsoftJson; NJsonSchema contains the converters for System.Text.Json
Requires latest Newtonsoft.Json v13.0.0.3
Now only supports .NET Standard 2.0, .NET 4.6.2 and up
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 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 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 nswag.consolecore from 13.19.0 to 14.0.3.
Release notes
Sourced from nswag.consolecore's releases.
... (truncated)
Commits
9db9f1b
v14.0.35b1c39c
Fixed duplicated variableName generation, fixes RicoSuter#2560 (#4725)c1a9db7
Made GenerateControllerName virtual (#4726)798b398
Upgrade to NUKE 8 (#4721)c177153
Annotate BaseUrl set with MemberNotNull to prevent CS8618. (#4739)be42e58
Fix missing _baseUrl field and BaseUrl property116c636
v14.0.2f18db2a
Allow client secret when usePkceWithAuthorizationCodeGrant is true, revert #4184313ea53
Increment global version number to 14.0.1 (#4700)388646e
fixed readme code sample (#4667)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 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