dataclasses-jsonschema
dataclasses-jsonschema copied to clipboard
schema doesn't support inline definition
The source code indicates that schema always is resolved to a reference. I can't do inline schema like the following
{
"in": "header",
"required": True,
"name": "FRUIT,
"schema": {
"type": "string",
"enum": ["apple", "banana", "orange"],
}
}