Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Wotee opened this issue Oct 11, 2023 · 1 comment

Comments

@Wotee
Copy link

Wotee commented Oct 11, 2023

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?

@helgeu
Copy link

helgeu commented Oct 11, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants