Implemented enhancements:
- NSwag contracts #186
- Remove unused schema definitions (e.g.
--remove-unreferenced-schema
) #170 - Update docs on trimming unused schemas #213 (christianhelle)
- Remove unreferenced schema, add
--trim-unused-schema
&--keep-schema
#199 (kirides)
Fixed bugs:
- IServiceCollectionExtensions extra closing parenthesis with httpMessageHandlers #205
Merged pull requests:
- docs: add jods4 as a contributor for ideas #212 (allcontributors[bot])
- Bump xunit from 2.6.0 to 2.6.1 #210 (dependabot[bot])
- Bump xunit from 2.5.3 to 2.6.0 #209 (dependabot[bot])
0.8.3 (2023-10-31)
Implemented enhancements:
- Manually run refit generator so the source can be directly added to the compilation rather than writing to a file #196
- Single output #184
- Fix extra close paranthesis in IServiceCollectionExtensions #207 (christianhelle)
- 🤖 Apply quick-fixes by Qodana #203 (github-actions[bot])
- Enable JetBrains Qodana auto-fixes #202 (christianhelle)
- Add JetBrains Qodana GitHub workflow #201 (christianhelle)
- Output filename customization #200 (christianhelle)
- Add support for customizable type and contract generator settings #188 (christianhelle)
- Use Internal types to improve docfx documentation generation #183 (christianhelle)
Fixed bugs:
- Remove
namespace
settings fromcodeGeneratorSettings
#197 (christianhelle)
Merged pull requests:
- docs: add EEParker as a contributor for bug #206 (allcontributors[bot])
- Bump xunit from 2.5.2 to 2.5.3 #198 (dependabot[bot])
- docs: add alrz as a contributor for bug #195 (allcontributors[bot])
- docs: add naaeef as a contributor for ideas #194 (allcontributors[bot])
- Bump xunit.runner.visualstudio from 2.5.1 to 2.5.3 #191 (dependabot[bot])
- Bump Exceptionless from 6.0.2 to 6.0.3 #190 (dependabot[bot])
- Bump xunit from 2.5.1 to 2.5.2 #189 (dependabot[bot])
- docs: add bielik01 as a contributor for ideas #187 (allcontributors[bot])
- docs: add bielik01 as a contributor for bug #185 (allcontributors[bot])
- Add docfx site #182 (christianhelle)
0.8.2 (2023-10-09)
Implemented enhancements:
- Allow for naming of methods when generating interfaces by endpoint #176
- Allow method name customization when generating multiple interfaces by endpoint #181 (christianhelle)
- Add support for generating IServiceCollection extension methods for registering Refit clients #174 (christianhelle)
Merged pull requests:
- docs: add attilah as a contributor for ideas #180 (allcontributors[bot])
- docs: add Noblix as a contributor for ideas #177 (allcontributors[bot])
0.8.1 (2023-10-03)
Implemented enhancements:
Merged pull requests:
- docs: add Noblix as a contributor for code #173 (allcontributors[bot])
- Bump Microsoft.OpenApi.Readers from 1.6.8 to 1.6.9 #171 (dependabot[bot])
0.8.0 (2023-09-23)
Implemented enhancements:
- Generate Refit interfaces as
partial
by default #161 - Mark deprecated operations #147
- Introduce
--operation-name-template
command line argument #164 (angelofb) - Add support for optional parameters via the
--optional-nullable-parameters
CLI argument #163 (christianhelle) - Generate Refit interfaces as partial #162 (christianhelle)
- Optional OpenAPI Path in CLI arguments #160 (christianhelle)
- Speed up local smoke tests #156 (christianhelle)
- Mark deprecated operations #154 (angelofb)
- Disable support keys if --no-logging is specified #153 (christianhelle)
- Skip default values when collecting feature usages for Analytics #145 (christianhelle)
Fixed bugs:
- Generated nullable query method params are not set to a default value of null #157
- Path to OpenAPI spec file is required in CLI command even when using a
--settings-file
parameter. #149 - Unexpected initial token 'Boolean' when populating object #138
Closed issues:
- Improving documentation for --settings-file cli tool parameter #148
Merged pull requests:
- Update .refitter file format documentation #169 (christianhelle)
- docs: add vinaymadupathi as a contributor for bug #168 (allcontributors[bot])
- Bump H.Generators.Extensions from 1.18.0 to 1.19.0 #166 (dependabot[bot])
- docs: add waylonmtz as a contributor for bug #165 (allcontributors[bot])
- Bump xunit from 2.5.0 to 2.5.1 #159 (dependabot[bot])
- Bump xunit.runner.visualstudio from 2.5.0 to 2.5.1 #158 (dependabot[bot])
- Update docs with deails about --no-deprecated-operations #155 (christianhelle)
- Fix documentation regarding --settings-file usage #152 (christianhelle)
- docs: add Ekkeir as a contributor for bug #151 (allcontributors[bot])
- docs: add Ekkeir as a contributor for doc #150 (allcontributors[bot])
- Add matchPath option in example .refitter file in README #146 (christianhelle)
- Bump Microsoft.OpenApi.Readers from 1.6.7 to 1.6.8 #144 (dependabot[bot])
0.7.5 (2023-09-07)
Fixed bugs:
- Filter
--tag
broken #142
Merged pull requests:
0.7.4 (2023-09-05)
Implemented enhancements:
- Introduce OpenAPI validation #141 (christianhelle)
- Show help text if no arguments are passed #140 (christianhelle)
- Resolve SonarCloud Code Smells #137 (christianhelle)
- Fix issue when downloading an OpenAPI spec from a URL that returns a GZIP stream #136 (christianhelle)
- Feature: Filtering of endpoints and tags #132 (kirides)
Fixed bugs:
- Downloading OpenAPI specification from URI using
content-encoding: gzip
fails #135 - Proposal: filter generated interfaces #131
Merged pull requests:
- docs: add danpowell88 as a contributor for bug #139 (allcontributors[bot])
- Update docs with new --tag and --match-path features #134 (christianhelle)
- Bump H.Generators.Extensions from 1.16.0 to 1.18.0 #133 (dependabot[bot])
- Bump Microsoft.NET.Test.Sdk from 17.7.1 to 17.7.2 #130 (dependabot[bot])
0.7.3 (2023-08-25)
Implemented enhancements:
- Fix incorrect assembly and file version #129 (christianhelle)
- Improve local smoke tests and introduce dev containers support #128 (christianhelle)
- Add support for using .refitter file from CLI #127 (christianhelle)
- Fix parameters' casing in openAPI document are not honoured in Refit interface methods #125 (christianhelle)
- Exclude from generated code from code coverage #123 (christianhelle)
- Add Codecov workflow and badge #120 (christianhelle)
- Fix duplicate Accept headers #119 (christianhelle)
- Fix issue where [Headers("Accept")] is always generated #111 (christianhelle)
- Add Accept Request Header #108 (guillaumeserale)
- Resolve SonarCloud detected code smells #105 (christianhelle)
- Enable SonarCloud #103 (christianhelle)
- Source Generator Hack - Write to disk instead of the syntax tree #102 (christianhelle)
Fixed bugs:
- Parameters' casing in openAPI document are not honoured in Refit interface methods #124
- Add support for using .refitter file from CLI #121
- Duplicate Accept Headers #118
- Missing "Accept" Request Header in generated files based on OAS 3.0 #107
- Refitter Source Generator - generated code not being picked up by Refit's Source Generator #100
- Remove source generator from docs and builds #101 (christianhelle)
Merged pull requests:
- Bump FluentAssertions from 6.11.0 to 6.12.0 #126 (dependabot[bot])
- docs: add yadanilov19 as a contributor for ideas #122 (allcontributors[bot])
- Bump Microsoft.CodeAnalysis.CSharp from 4.6.0 to 4.7.0 #117 (dependabot[bot])
- Update docs regarding accept headers #116 (christianhelle)
- Bump Microsoft.NET.Test.Sdk from 17.7.0 to 17.7.1 #115 (dependabot[bot])
- Bump H.Generators.Extensions from 1.15.1 to 1.16.0 #114 (dependabot[bot])
- Bump NSwag.CodeGeneration.CSharp from 13.19.0 to 13.20.0 #113 (dependabot[bot])
- Bump NSwag.Core.Yaml from 13.19.0 to 13.20.0 #112 (dependabot[bot])
- docs: add Roflincopter as a contributor for ideas #110 (allcontributors[bot])
- docs: add guillaumeserale as a contributor for bug #109 (allcontributors[bot])
- Restore source generator in docs and builds #104 (christianhelle)
0.7.2 (2023-08-07)
Implemented enhancements:
- Local smoke test bash script #98 (christianhelle)
- Small code cleanup in Generators #97 (kirides)
- Generate Multiple interfaces based on first Tag #95 (kirides)
Merged pull requests:
- Bump Microsoft.NET.Test.Sdk from 17.6.3 to 17.7.0 #99 (dependabot[bot])
- docs: add kirides as a contributor for code #96 (allcontributors[bot])
0.7.1 (2023-08-02)
Implemented enhancements:
- Rename source generator output to use .refitter file and replace extension with .g.cs #94 (christianhelle)
- Add support for generating multiple interfaces #93 (christianhelle)
0.7.0 (2023-07-31)
Implemented enhancements:
- Add production tests for source generators #92 (christianhelle)
- Update NuGet package icon with 128x128 image #91 (christianhelle)
- Add NuGet package icon #90 (christianhelle)
- Introduce C# Source Generator and the .refitter file format #86 (christianhelle)
Merged pull requests:
- Bump xunit.runner.visualstudio from 2.4.5 to 2.5.0 #89 (dependabot[bot])
- Bump Microsoft.CodeAnalysis.CSharp from 4.5.0 to 4.6.0 #88 (dependabot[bot])
- Bump xunit from 2.4.2 to 2.5.0 #87 (dependabot[bot])
0.6.3 (2023-07-22)
Implemented enhancements:
- Add .editorconfig #85 (angelofb)
- General improvements on code, docs, and workflows #84 (christianhelle)
Merged pull requests:
- Bump xunit from 2.4.2 to 2.5.0 #83 (dependabot[bot])
- Bump xunit.runner.visualstudio from 2.4.5 to 2.5.0 #82 (dependabot[bot])
- Bump Microsoft.NET.Test.Sdk from 17.6.2 to 17.6.3 #81 (dependabot[bot])
0.6.2 (2023-06-22)
Implemented enhancements:
Fixed bugs:
- Generated code doesn't build if operationId contains spaces #78
0.6.1 (2023-06-20)
Fixed bugs:
- DirectoryNotFoundException #76
- Fix support for spaces in operationid #79 (christianhelle)
- Fix DirectoryNotFoundException #77 (christianhelle)
0.6.0 (2023-06-15)
Implemented enhancements:
- Enhanced HTTP status code 200 handling for API responses #74 (NoGRo)
- Introduce --use-iso-date-format CLI tool argument #73 (christianhelle)
- make use of new language features #72 (angelofb)
- check if query parameter is an array #70 (angelofb)
Fixed bugs:
- String parameters with format 'date' get no Format in the QueryAttribute #66
Merged pull requests:
- docs: add NoGRo as a contributor for code #75 (allcontributors[bot])
- docs: add angelofb as a contributor for code #71 (allcontributors[bot])
0.5.30 (2023-06-12)
Fixed bugs:
- Model definition with property named System results in class that does not compile #68
- Refitter fails to generate FormData parameter for file upload #62
- Member with the same signature is already declared #58
- Generated Method names contains invalid characters. #56
- Remove inline namespace imports #69 (christianhelle)
- Add support for multipart/form-data file uploads #65 (christianhelle)
Merged pull requests:
- docs: add brease-colin as a contributor for bug #67 (allcontributors[bot])
0.5.28 (2023-06-08)
Implemented enhancements:
- Generated files have inconsistent lined endings #57
- Fix inconsistent line endings in generated file #60 (christianhelle)
- Configure All-Contributors bot #44 (christianhelle)
Fixed bugs:
- Generated output has Task return type instead of expected Task<T> #41
- Fix broken interface generated from HubSpot API's #64 (christianhelle)
Closed issues:
- Add Contributors using All-Contributors #46
Merged pull requests:
- docs: add richardhu-lmg as a contributor for bug #63 (allcontributors[bot])
- Bump Microsoft.NET.Test.Sdk from 17.6.1 to 17.6.2 #61 (dependabot[bot])
- docs: add damianh as a contributor for bug #59 (allcontributors[bot])
- Bump Microsoft.NET.Test.Sdk from 17.6.0 to 17.6.1 #55 (dependabot[bot])
- docs: add Roflincopter as a contributor for code #54 (allcontributors[bot])
- docs: add guillaumeserale as a contributor for code #53 (allcontributors[bot])
- docs: add kirides as a contributor for bug #52 (allcontributors[bot])
- docs: add m7clarke as a contributor for bug #51 (allcontributors[bot])
- docs: add 1kvin as a contributor for bug #50 (allcontributors[bot])
- docs: add yrki as a contributor for code #49 (allcontributors[bot])
- docs: add kgamecarter as a contributor for code #48 (allcontributors[bot])
- docs: add distantcam as a contributor for code #47 (allcontributors[bot])
- docs: add neoGeneva as a contributor for code #45 (allcontributors[bot])
0.5.27 (2023-05-24)
Fixed bugs:
- Fixes Interface generator in case the response uses a ref in yaml spec. #42 (Roflincopter)
Merged pull requests:
- Bump coverlet.collector from 3.2.0 to 6.0.0 #40 (dependabot[bot])
- Bump Spectre.Console.Cli from 0.46.0 to 0.47.0 #39 (dependabot[bot])
- Bump Exceptionless from 6.0.1 to 6.0.2 #38 (dependabot[bot])
- Bump Microsoft.NET.Test.Sdk from 17.5.0 to 17.6.0 #37 (dependabot[bot])
0.5.26 (2023-05-11)
0.5.25 (2023-05-10)
Implemented enhancements:
- Introduce Feature Usage tracking to Exceptionless #35 (christianhelle)
Merged pull requests:
- Bump Exceptionless from 6.0.0 to 6.0.1 #36 (dependabot[bot])
0.5.3 (2023-05-05)
Implemented enhancements:
- Introduce Error logging using Exceptionless #32 (christianhelle)
Merged pull requests:
- Bump NSwag.CodeGeneration.CSharp from 13.18.5 to 13.19.0 #34 (dependabot[bot])
- Bump NSwag.Core.Yaml from 13.18.5 to 13.19.0 #33 (dependabot[bot])
- Bump NSwag.Core.Yaml from 13.18.3 to 13.18.5 #31 (dependabot[bot])
- Bump NSwag.CodeGeneration.CSharp from 13.18.3 to 13.18.5 #30 (dependabot[bot])
- Bump NSwag.Core.Yaml from 13.18.2 to 13.18.3 #29 (dependabot[bot])
- Bump NSwag.CodeGeneration.CSharp from 13.18.2 to 13.18.3 #28 (dependabot[bot])
0.5.2 (2023-05-02)
Fixed bugs:
- OperationHeaders generation problem with headers containing a - #26
- Fix for #26 #27 (guillaumeserale)
0.5.1 (2023-05-01)
Implemented enhancements:
- Add
CancellationToken cancellationToken = default
to generated Methods #19 - Add --no-operation-headers CLI tool argument #25 (christianhelle)
- Add injecting header parameters #24 (guillaumeserale)
0.5.0 (2023-04-28)
Implemented enhancements:
- Add support for using Cancellation Tokens #23 (christianhelle)
0.4.2 (2023-04-24)
Implemented enhancements:
- Allow specifying access modifiers for generated classes #20
- Support for .net6.0 / Reasoning why .net7 is required #17
- Release v0.4.2 #22 (christianhelle)
- Add support for generating 'internal' types #21 (christianhelle)
- Charge Target Framework to .NET 6.0 (LTS) #18 (christianhelle)
Merged pull requests:
- Bump FluentAssertions from 6.10.0 to 6.11.0 #16 (dependabot[bot])
0.4.1 (2023-04-03)
Implemented enhancements:
0.4.0 (2023-03-24)
Implemented enhancements:
- Add support for generating IApiResponse<T> as return types #13
0.3.17 (2023-03-24)
Implemented enhancements:
- Add support for generating IApiResponse<T> as return types #14 (christianhelle)
0.3.16 (2023-03-22)
Implemented enhancements:
0.3.4 (2023-03-22)
Implemented enhancements:
- Please add support for kebab string casing parameters #10
Fixed bugs:
- Add support for kebab-string-casing parameters #11 (christianhelle)
0.3.3 (2023-03-17)
Fixed bugs:
- Handle multipart/form-data parameters #9 (distantcam)
0.3.2 (2023-03-16)
Fixed bugs:
- Missing path parameters in parent #8
- Parameters from the query do not add into the resulting interface #5
- fix path parameters in parent #7 (kgamecarter)
0.3.1 (2023-03-14)
Fixed bugs:
- Fix missing support for Query Parameters #6 (christianhelle)
0.3.0 (2023-03-14)
Implemented enhancements:
- Introduce --interface-only CLI tool argument #4 (christianhelle)
0.2.4-alpha (2023-03-01)
0.2.3-alpha (2023-02-27)
0.2.2-alpha (2023-02-25)
0.2.1-alpha (2023-02-25)
0.2.0-alpha (2023-02-24)
Merged pull requests:
- Bump Microsoft.NET.Test.Sdk from 17.4.1 to 17.5.0 #3 (dependabot[bot])
0.1.5-alpha (2023-02-18)
0.1.4-alpha (2023-02-17)
0.1.3-alpha (2023-02-17)
Merged pull requests:
- Bump Microsoft.NET.Test.Sdk from 17.3.2 to 17.4.1 #2 (dependabot[bot])
- Bump coverlet.collector from 3.1.2 to 3.2.0 #1 (dependabot[bot])
* This Changelog was automatically generated by github_changelog_generator