Azure / Azure/azure-functions-openapi-extension
Required section property casing
- Dominant language
- C#
- Stars
- 388
- Forks
- 202
- PR merge metrics
- No merged PRs in 30d
Description
I have some properties decorated with JsonRequired attribute and JsonProperty attribute with custom property name specified.
In the properties section of swagger.json, property name respect casing of property name value of JSonProperty attribute, but in the required section the name is with first letter lower cased.
Contributor guide
Research direction
Reproduce the issue with C# properties using JsonRequired and JsonProperty with a custom-cased name, then inspect how the OpenAPI document builds its properties and required sections. Done means the name in the required section matches the custom property name casing in swagger.json.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, openapi
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100