Azure / azure-functions-openapi-extension

This extension provides an Azure Functions app with Open API capability for better discoverability to consuming parties

Home Page:https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.OpenApi/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PR Add : Set NamingStrategy Type #613 tagged with v2.0.0-preview2, but not included in the NuGet package 2.0.0-preview2

Wotee opened this issue · comments

Description
Not able to set NamingStrategy with the 2.0.0-preview2

To reproduce
Update to NuGet package version 2.0.0-preview2
Add OpenApiNamingStrategyCode to your custom type

type OpenApiConfigurationOptions() =
    inherit DefaultOpenApiConfigurationOptions()

    override _.OpenApiNamingStrategy = OpenApiNamingStrategy.PascalCase

Try to build
Build fails

Expected behavior
Follow steps, build succeeds, naming strategy changes in the product

Screenshots
image
image
image

Environment (please complete the following information, if applicable):

  • OS: Windows

Additional context
I would really need this feature. Would it possible to build a 2.0.0-preview3 which has this included?

Do want. Move fast. Make preview now. Needed it previous week!