Created
August 16, 2018 00:47
-
-
Save acunniffe/55593b17b7a0aefef7955d2453a9bd33 to your computer and use it in GitHub Desktop.
combined value/schema example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
in: { | |
type: "string", | |
enum: ["query", "body", "params", "header"], | |
from: tokenWithValue('query') | |
}, | |
name: { | |
type: "string", | |
from: tokenWithValue('name') | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment