Azure / Azure/azure-functions-openapi-extension

Support of "oneOf, anyOf, allOf"

Open
#370 10 comments 13 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
388
Forks
202
PR merge metrics
No merged PRs in 30d

Description

I'd like to have ability to configure my model to having something like this output:
```
"fieldName": {
"type": "array",
"items": {
"oneOf": [
{ "$ref": "#/definitions/item" },
{ "$ref": "#/definitions/itemGroup" }
]
}
}
```

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points and provides only a target OpenAPI schema example. Start by tracing how model schemas are generated and how configuration is exposed; done means the requested oneOf, anyOf, and allOf output can be produced for the described array case.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, openapi
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.