Azure / Azure/azure-functions-openapi-extension

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

Open
#623 1 comment 8 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
388
Forks
202
PR merge metrics
No merged PRs in 30d

Description

**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
```fsharp
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](https://github.com/Azure/azure-functions-openapi-extension/assets/12512587/cdee5c29-0992-49a6-bd35-1feb9dc8e14f)
![image](https://github.com/Azure/azure-functions-openapi-extension/assets/12512587/1c41f5de-e779-4e86-9890-2933f985b3fd)
![image](https://github.com/Azure/azure-functions-openapi-extension/assets/12512587/586cf2ff-5b57-4241-a0b1-9efd842d7902)

**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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.