Azure / Azure/azure-functions-openapi-extension
Inquiry: Multiple Examples for RequestWithBody
Open
- Dominant language
- C#
- Stars
- 388
- Forks
- 202
- PR merge metrics
- No merged PRs in 30d
Description
Is there a way to have a multiple examples in the request body?
I have a trigger that will react depending on the input of the request body for example isAutomated: true or isAutomated:false.
I already tried adding multiple examples but I think only the first one is being used. TIA
Contributor guide
Research direction
Start by tracing the RequestWithBody handling and how multiple request-body examples are represented. Check whether both isAutomated: true and isAutomated: false can be retained instead of only the first example, then verify the resulting OpenAPI or Swagger output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp, openapi
- Domain
- api, documentation
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100