CenterEdge / Yardarm

OpenAPI 3 SDK Generator for C#
Apache License 2.0
44 stars 6 forks source link

Avoid NRT warnings if consumer upgrades to Microsoft.Extensions.Http 7.x #227

Closed brantburnett closed 10 months ago

brantburnett commented 10 months ago

Motivation

The name parameter should be annotated as nullable to match the nullability annotations in Microsoft.Extensiosn.Http 7.x and greater to avoid warnings.

Modifications

Fix the annotation.

Results

No warnings with the default 6.x version or newer versions.

Closes #222

brantburnett commented 10 months ago

/merge

centeredgebot[bot] commented 10 months ago

This pull request is invalid according to the following rules: