Skip to content
This repository has been archived by the owner on Aug 19, 2023. It is now read-only.

schema doesn't support inline definition #198

Open
perryism opened this issue Apr 29, 2023 · 0 comments
Open

schema doesn't support inline definition #198

perryism opened this issue Apr 29, 2023 · 0 comments

Comments

@perryism
Copy link

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"],
    }
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant