* fix(sample-gen): enum without type should be handled by sample-gen (#6912)
This commit is contained in:
@@ -133,7 +133,7 @@ export const sampleFromSchemaGeneric = (schema, config={}, exampleOverride = und
|
||||
type = "object"
|
||||
} else if(items) {
|
||||
type = "array"
|
||||
} else if(!usePlainValue){
|
||||
} else if(!usePlainValue && !schema.enum){
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user