-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Comparing changes
Open a pull request
base repository: domaindrivendev/Swashbuckle.AspNetCore
base: v6.6.1
head repository: domaindrivendev/Swashbuckle.AspNetCore
compare: v6.6.2
- 20 commits
- 64 files changed
- 11 contributors
Commits on May 14, 2024
-
* Bump version Bump version to 6.6.2 for the next release. * Fix link Point to the correct tag. --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Martin Costello <martin@martincostello.com>
Configuration menu - View commit details
-
Copy full SHA for 8908e1e - Browse repository at this point
Copy the full SHA 8908e1eView commit details -
Fix to make required and nullable properties nullable in schema (#2879)
Fix to make required and nullable properties nullable in schema. - Added test for type with required nullable properties.
Configuration menu - View commit details
-
Copy full SHA for a29ba36 - Browse repository at this point
Copy the full SHA a29ba36View commit details
Commits on May 15, 2024
-
Update Swagger UI section (#2883)
Update a few outdated links to the Swagger UI repository and add missing extension methods on SwaggerUIOptions.
Configuration menu - View commit details
-
Copy full SHA for f16fa78 - Browse repository at this point
Copy the full SHA f16fa78View commit details -
Bump martincostello/update-dotnet-sdk from 3.2.1 to 3.2.2 (#2888)
Bumps [martincostello/update-dotnet-sdk](https://github.com/martincostello/update-dotnet-sdk) from 3.2.1 to 3.2.2. - [Release notes](https://github.com/martincostello/update-dotnet-sdk/releases) - [Commits](martincostello/update-dotnet-sdk@caa37bc...68300a9) --- updated-dependencies: - dependency-name: martincostello/update-dotnet-sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7a0c4e1 - Browse repository at this point
Copy the full SHA 7a0c4e1View commit details -
Bump codecov/codecov-action from 4.3.1 to 4.4.0 (#2889)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.3.1 to 4.4.0. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](codecov/codecov-action@5ecb98a...6d79887) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4220ffb - Browse repository at this point
Copy the full SHA 4220ffbView commit details -
Add support for the
[Length]
attribute. (#2882)Implement support for the `[Length]` attribute.
Configuration menu - View commit details
-
Copy full SHA for 674eac8 - Browse repository at this point
Copy the full SHA 674eac8View commit details -
Update .NET SDK to version 8.0.300. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7deb5f6 - Browse repository at this point
Copy the full SHA 7deb5f6View commit details -
Existing output file should be deleted/overwritten (#2886)
The CLI currently uses `File.OpenWrite(path)` (added in #2677) to create an output stream for the resulting swagger document. This does not delete the existing contents, but instead starts writing from position 0, causing issues if the output is smaller than the previous file content. Changed to `File.Create(path)` to make sure any previous content is discarded.
Configuration menu - View commit details
-
Copy full SHA for d793865 - Browse repository at this point
Copy the full SHA d793865View commit details
Commits on May 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e1b56e1 - Browse repository at this point
Copy the full SHA e1b56e1View commit details -
Avoid competing swagger generation during test build (#2897)
The previous implementation caused the concurrent builds for various frameworks to compete in writing to the output `swagger.json` file, causing exceptions during builds (since it happened in csproj). In my local development I often failed to rebuild the full solution because some projects failed to build for this reason. It has also happened in CI (#2886). Note that the NSwag source code generator in `NswagClientExample` still outputs everything in one spot for all frameworks, but I haven't noticed failures from that. Maybe it's just less likely to write concurrently. I left it as is. Un-skip the `Overwrites_Existing_File` test.
Configuration menu - View commit details
-
Copy full SHA for 77cde47 - Browse repository at this point
Copy the full SHA 77cde47View commit details -
Replace br tags in XML comments with new lines (#2899)
Replace any `<br>` tags with a new line instead.
Configuration menu - View commit details
-
Copy full SHA for 828b7df - Browse repository at this point
Copy the full SHA 828b7dfView commit details -
Fix schema generation for C# 9 positional record with no example (#2901)
* Add schema filter test for when example tag is not present * Add datetime to schema filter example tag positive test * Fix missing example property on record xmldoc param tag causing unexpected empty example string in generated schema
Configuration menu - View commit details
-
Copy full SHA for 76ec39d - Browse repository at this point
Copy the full SHA 76ec39dView commit details -
Bump swagger-ui-dist in /src/Swashbuckle.AspNetCore.SwaggerUI (#2903)
Bumps [swagger-ui-dist](https://github.com/swagger-api/swagger-ui) from 5.17.9 to 5.17.10. - [Release notes](https://github.com/swagger-api/swagger-ui/releases) - [Changelog](https://github.com/swagger-api/swagger-ui/blob/master/.releaserc) - [Commits](swagger-api/swagger-ui@v5.17.9...v5.17.10) --- updated-dependencies: - dependency-name: swagger-ui-dist dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ecce973 - Browse repository at this point
Copy the full SHA ecce973View commit details
Commits on May 18, 2024
-
Only restore packages when needed
Speed up local development iterations by only running `npm install` when the `node_modules` directory does not already exist.
Configuration menu - View commit details
-
Copy full SHA for a0f4bb4 - Browse repository at this point
Copy the full SHA a0f4bb4View commit details -
Apply code refactoring suggestions from Visual Studio.
Configuration menu - View commit details
-
Copy full SHA for 91c936b - Browse repository at this point
Copy the full SHA 91c936bView commit details -
Fix serialization of AdditionalItems
Extend custom `JsonSerializerContext` to cover objects that might be added to the additional JSON property. Resolves #2884,
Configuration menu - View commit details
-
Copy full SHA for ac588fe - Browse repository at this point
Copy the full SHA ac588feView commit details -
Disable parallel build (#2894)
Disable parallel build to avoid file-write conflicts. Relates to #2893.
Configuration menu - View commit details
-
Copy full SHA for 26c78cb - Browse repository at this point
Copy the full SHA 26c78cbView commit details -
Do not run IHostedService implementations (#2880)
- Remove `IHostedService` implementations so the CLI doesn't run hosted services (and then hang/fail). - Refactor CLI tests to reduce duplication. - Use newer C# syntax as suggested by Visual Studio. Co-authored-by: Sjoerd van der Meer <2460430+desjoerd@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 432c417 - Browse repository at this point
Copy the full SHA 432c417View commit details
Commits on May 21, 2024
-
Fix property casing of Swagger UI interceptor function properties. Resolves #2906.
Configuration menu - View commit details
-
Copy full SHA for d5cd28e - Browse repository at this point
Copy the full SHA d5cd28eView commit details -
Fix exceptions generating default values (#2895)
- Fix SwaggerGeneratorException if the type of a `[DefaultValue]` does not match the type of the property when using System.Text.Json for serialization to resolve #2885. - Fix schema generation of default values for nullable enums with System.Text.Json to resolve #2904. - Resolve some IDE refactoring suggestions. - Render the response if an integration test fails.
Configuration menu - View commit details
-
Copy full SHA for fe87e6d - Browse repository at this point
Copy the full SHA fe87e6dView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v6.6.1...v6.6.2