fix enum and map of neum (regression) (#1706)

This commit is contained in:
William Cheng
2018-12-20 16:07:22 +08:00
committed by GitHub
parent 93c13074ff
commit f188fa08e5
23 changed files with 73 additions and 3 deletions

View File

@@ -173,6 +173,8 @@ class MapTest implements ModelInterface, ArrayAccess
return self::$openAPIModelName;
}
const MAP_OF_ENUM_STRING_UPPER = 'UPPER';
const MAP_OF_ENUM_STRING_LOWER = 'lower';
@@ -184,7 +186,8 @@ class MapTest implements ModelInterface, ArrayAccess
public function getMapOfEnumStringAllowableValues()
{
return [
self::MAP_OF_ENUM_STRING_UPPER,
self::MAP_OF_ENUM_STRING_LOWER,
];
}