Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix array of any type
  • Loading branch information
wing328 committed Apr 28, 2020
commit 93e7beade06365d2f971b63ecf1f284e7a0dc84d
Original file line number Diff line number Diff line change
Expand Up @@ -439,13 +439,6 @@ public static boolean isComposedSchema(Schema schema) {
* @return true if the specified schema is a Map schema.
*/
public static boolean isMapSchema(Schema schema) {
/* comment out below as it has impacts to many generators
// make sure it's not free form object first
if (isFreeFormObject(schema)) {
// to cover `additionalProperties: {}`
return false;
}*/

if (schema instanceof MapSchema) {
return true;
}
Expand Down