New
NSwag v14.5.0 (NJsonSchema v11.4.0)
What's Changed
- Better support for reading yaml from a stream by @simonthum in https://github.com/RicoSuter/NSwag/pull/5170
- #4821 Cleanup packages to use those provided by framework by @thompson-tomo in https://github.com/RicoSuter/NSwag/pull/4831
- Set GH actions target .NET SDK to 9.0.204 by @lahma in https://github.com/RicoSuter/NSwag/pull/5172
- Better support for reading yaml from a stream (part two) by @simonthum in https://github.com/RicoSuter/NSwag/pull/5171
- Avoid multiple enumeration of array typed path parameters by @Khyalis in https://github.com/RicoSuter/NSwag/pull/5149
- Restores all disabled compiler warnings. 649 and 8765 were missing. by @carlbjorknas in https://github.com/RicoSuter/NSwag/pull/4962
- Fix to explode array parameters implicitly when SchemaType is OpenAPI 3.0 by @Phoosha in https://github.com/RicoSuter/NSwag/pull/5176
- Adding cancellationToken to all calls to ReadAsStringAsync() and ReadAsStreamAsync() by @arshrp in https://github.com/RicoSuter/NSwag/pull/5187
- Remove requirement for specific NET SDK in GH Actions by @lahma in https://github.com/RicoSuter/NSwag/pull/5188
- Adjusted cancellationToken to work for all NSwag supported frameworks by @arshrp in https://github.com/RicoSuter/NSwag/pull/5190
- Allow setting of the client interface access modifier based on the model access modifier by @pbolduc in https://github.com/RicoSuter/NSwag/pull/4820
- Prioritize wildcard over json over first entry for accept content-type by @mdi1984 in https://github.com/RicoSuter/NSwag/pull/5198
- Reduce interface dispatch to improve performance by @lahma in https://github.com/RicoSuter/NSwag/pull/5199
- Surface ExtensionData in CSharpControllerTemplateModel by @hirudan in https://github.com/RicoSuter/NSwag/pull/5204
- Expose the UseRequiredKeyword on CSharpClientGeneratorSettings for CSharp client generator by @r-englund in https://github.com/RicoSuter/NSwag/pull/5205
- Fix to expose an optional param for AbortSignal (for axios) / CancelToken (for fetch) when GenerateClientInterfaces = true by @tomvdk in https://github.com/RicoSuter/NSwag/pull/5202
- Sort client operation responses by status code by @lahma in https://github.com/RicoSuter/NSwag/pull/5206
- TSC UpdateUseDtoClassAndDataConversionCodeProperties cleanup by @lahma in https://github.com/RicoSuter/NSwag/pull/5212
- Update Microsoft.AspNetCore.* references to target 2.3.0 by @lahma in https://github.com/RicoSuter/NSwag/pull/5214
- Convert to using Central Package Management by @lahma in https://github.com/RicoSuter/NSwag/pull/5217
- Convert NSwagStudio setup to use WiX 6 by @lahma in https://github.com/RicoSuter/NSwag/pull/5218
- Add support for TypeScript compilation testing by @lahma in https://github.com/RicoSuter/NSwag/pull/5219
- Replace TypeScript string contain asserts with Verify tests by @lahma in https://github.com/RicoSuter/NSwag/pull/5220
- Replace C# string contain asserts with Verify tests by @lahma in https://github.com/RicoSuter/NSwag/pull/5221
- Remove deprecated tslint suppression by @CaringDev in https://github.com/RicoSuter/NSwag/pull/5020
- Fix empty enumerable parameter handling in C# client by @lahma in https://github.com/RicoSuter/NSwag/pull/5222
- Fix: C# Code Generation generates method with return default(void) by @nzeemin in https://github.com/RicoSuter/NSwag/pull/4826
- Optimize DefaultParameterNameGenerator and add some more char cleanup by @lahma in https://github.com/RicoSuter/NSwag/pull/5223
- Convert more tests to use verify by @lahma in https://github.com/RicoSuter/NSwag/pull/5224
- Convert to xUnit v3 by @lahma in https://github.com/RicoSuter/NSwag/pull/5225
- Ensure operation names start with alphanumeric character by @lahma in https://github.com/RicoSuter/NSwag/pull/5227
- Change GenerateSampleSpecificationTests to auto verify mode by @lahma in https://github.com/RicoSuter/NSwag/pull/5228
- Show DisplayName for conflicting actions by @Saibamen in https://github.com/RicoSuter/NSwag/pull/5057
- Fix: When generated TS class name is "Error", it is conflicting with TS Error class by @doruk-info in https://github.com/RicoSuter/NSwag/pull/5032
- Update NJsonSchema to 11.4.0, update testsuite to reflect a change in class name generation by @WolfgangHG in https://github.com/RicoSuter/NSwag/pull/5177
- Improve nswag.js parameter handling by @KaterSchnurz in https://github.com/RicoSuter/NSwag/pull/5232
- Use TypeScript 4.3 as default testing version by @lahma in https://github.com/RicoSuter/NSwag/pull/5234
- v14.5.0 by @RicoSuter in https://github.com/RicoSuter/NSwag/pull/5236
New Contributors
- @simonthum made their first contribution in https://github.com/RicoSuter/NSwag/pull/5170
- @thompson-tomo made their first contribution in https://github.com/RicoSuter/NSwag/pull/4831
- @Khyalis made their first contribution in https://github.com/RicoSuter/NSwag/pull/5149
- @carlbjorknas made their first contribution in https://github.com/RicoSuter/NSwag/pull/4962
- @Phoosha made their first contribution in https://github.com/RicoSuter/NSwag/pull/5176
- @arshrp made their first contribution in https://github.com/RicoSuter/NSwag/pull/5187
- @pbolduc made their first contribution in https://github.com/RicoSuter/NSwag/pull/4820
- @mdi1984 made their first contribution in https://github.com/RicoSuter/NSwag/pull/5198
- @hirudan made their first contribution in https://github.com/RicoSuter/NSwag/pull/5204
- @r-englund made their first contribution in https://github.com/RicoSuter/NSwag/pull/5205
- @CaringDev made their first contribution in https://github.com/RicoSuter/NSwag/pull/5020
- @nzeemin made their first contribution in https://github.com/RicoSuter/NSwag/pull/4826
- @doruk-info made their first contribution in https://github.com/RicoSuter/NSwag/pull/5032
- @WolfgangHG made their first contribution in https://github.com/RicoSuter/NSwag/pull/5177
- @KaterSchnurz made their first contribution in https://github.com/RicoSuter/NSwag/pull/5232
Full Changelog: https://github.com/RicoSuter/NSwag/compare/v14.4.0...v14.5.0