christianhelle / apiclientcodegen

A collection of Visual Studio custom tool code generators for Swagger / OpenAPI specification files
http://bit.ly/restapicodegen
GNU General Public License v3.0
177 stars 23 forks source link

Bump Refitter.Core from 0.8.2 to 0.8.3 #657

Closed dependabot[bot] closed 11 months ago

dependabot[bot] commented 11 months ago

Bumps Refitter.Core from 0.8.2 to 0.8.3.

Release notes

Sourced from Refitter.Core's releases.

v0.8.3

Installation

This is packaged as a .NET Tool and is published to nuget.org. You can install this specific version of this tool like this:

dotnet tool install --global Refitter --version 0.8.3

Features

  • Generate single file containing Refit interface and contract types from an OpenAPI spec file
  • Supports OpenAPI v2 and v3
  • Supports OpenAPI specifications in JSON and YAML formats
  • Supports OpenAPI specification validation and error/warning/stats reporting
  • Supports generating route, query, header, and body request parameters
  • Generate code at build time using rosyln C# source generator Refitter.SourceGenerator
  • --no-auto-generated-header CLI tool argument to skip prefixing output file with header
  • --interface-only CLI tool argument to skip contract type generation
  • --use-api-response CLI Tool argument to return IApiResponse<T> instead of Task<T>
  • --internal CLI tool argument to generate types with the internal accessibility modifier
  • --cancellation-tokens CLI tool argument to generate the Refit interface with CancellationTokens
  • --no-operation-headers CLI tool argument to skip generating [Header] parameters
  • --no-logging CLI tool argument to disable error logging and feature usage tracking
  • --use-iso-date-format CLI tool argument to explicitly format date query string parameters in ISO standard date format using delimiters (2023-06-15)
  • --multiple-interfaces CLI tool argument to generate a Refit interface for each endpoint. This may be either ByEndpoint or ByTag
  • --settings-file CLI tool argument to use a .refitter format file and override all other arguments
  • --skip-validation CLI tool argument to ignore all validation errors and attempt to generate code anyway
  • --match-path CLI tool argument to only include Paths that match the provided regular expression. May be set multiple times
  • --tag CLI tool argument to only include Endpoints that contain this tag. May be set multiple times and result in OR'ed evaluation
  • --optional-nullable-parameters CLI tool argument to make non-required query parameters to optional parameters in Refit interface
  • --operation-name-template CLI tool argument to append a prefix or suffix to the {operationName} template. This can also be used to customize the Execute() method name in the interfaces generated when --multiple-interfaces ByEndpoint is set

What's Changed

... (truncated)

Changelog

Sourced from Refitter.Core's changelog.

Changelog

Unreleased

Full Changelog

Implemented enhancements:

Fixed bugs:

Merged pull requests:

Commits
  • 6811189 bump up version number to 0.8.3 [skip ci]
  • bfffb7a Update changelog [skip ci]
  • 1a19dd0 Merge pull request #207 from christianhelle/service-collection-extension-meth...
  • f8c24d0 Setup dependencyInjectionSettings in source generator tests
  • 239a989 Merge pull request #206 from christianhelle/all-contributors/add-EEParker
  • 4f1146a Update Refitter.SourceGenerator package version
  • 63f8188 Update source generator tests to generator dependency injection settings with...
  • b1cc813 Add DelegatingHandler test classes in Refitter.Tests
  • fcf8d07 Add necessary packages to Test Project
  • b92d827 Add CultureInfo to DI generator for consistent number formats
  • Additional commits viewable in compare view


Dependabot compatibility score

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)
sonarcloud[bot] commented 11 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication