a334b60193
* Only allow type-matching enum values * More tests and fixes
22 lines
310 B
JSON
22 lines
310 B
JSON
{
|
|
"types": {
|
|
"fake-provider:module1:BadEnum": {
|
|
"type": "string",
|
|
"enum": [
|
|
{
|
|
"value": "chocolate"
|
|
},
|
|
{
|
|
"value": "marshmallow"
|
|
},
|
|
{
|
|
"value": 3
|
|
},
|
|
{
|
|
"value": "cookie"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|