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.4 to 0.8.5 #688

Closed dependabot[bot] closed 11 months ago

dependabot[bot] commented 11 months ago

Bumps Refitter.Core from 0.8.4 to 0.8.5.

Release notes

Sourced from Refitter.Core's releases.

v0.8.5

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.5

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
  • --trim-unused-schema CLI tool argument to remove unreferenced components schema to keep the generated output to a minimum
  • --keep-schema CLI tool argument to specify a collection of regular expressions to force to keep matching schema. This is used together with --trim-unused-schema

What's Changed

... (truncated)

Changelog

Sourced from Refitter.Core's changelog.

0.8.5 (2023-11-23)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • if a path contain colon (":") character then must be replace it #225

Merged pull requests:

Commits
  • 513d4ca Bump up version number to v0.8.5 [skip ci]
  • b0b464c Update changelog [skip ci]
  • c70a75c Merge pull request #230 from christianhelle/dependabot/nuget/Spectre.Console....
  • 00dfec9 Bump Spectre.Console.Cli from 0.47.0 to 0.48.0
  • f5df9f0 Update changelog [skip ci]
  • e2f24a8 Merge pull request #228 from christianhelle/dependabot/nuget/Microsoft.CodeAn...
  • 786d369 Update changelog [skip ci]
  • 15639b4 Merge pull request #227 from christianhelle/sanitize-path
  • e895416 Bump Microsoft.CodeAnalysis.CSharp from 4.7.0 to 4.8.0
  • 4fafe4f Add test suite for handling colons in path
  • 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