We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ea7720 commit e016c41Copy full SHA for e016c41
modules/openapi-generator/src/main/java/org/openapitools/codegen/utils/ModelUtils.java
@@ -439,11 +439,11 @@ public static boolean isComposedSchema(Schema schema) {
439
* @return true if the specified schema is a Map schema.
440
*/
441
public static boolean isMapSchema(Schema schema) {
442
- // make sure it's not free form object first
443
- if (isFreeFormObject(schema)) {
444
- // to cover `additionalProperties: {}`
445
- return false;
446
- }
+// // make sure it's not free form object first
+// if (isFreeFormObject(schema)) {
+// // to cover `additionalProperties: {}`
+// return false;
+// }
447
448
if (schema instanceof MapSchema) {
449
return true;
0 commit comments