Azure / Azure/azure-functions-openapi-extension

Inquiry: Multiple Examples for RequestWithBody

Open
#486 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.