You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RELEASE_NOTES.md
+1
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
#### 0.6.0 - April 13, 2017
2
2
* Supported `allOf` composition with `properties` definition in the same SchemaObject - https://github.com/fsprojects/SwaggerProvider/issues/72
3
+
* Supported wrappers around primitive types - https://github.com/APIs-guru/openapi-directory/issues/98
|_-> failwithf "Reference to unknown type %s" path
179
+
|_-> None
180
+
|_-> None
167
181
let(|IsPolymorphism|_|)(obj:SchemaNode)=
168
182
// Models with Polymorphism Support
169
183
obj.TryGetProperty("discriminator")
@@ -178,6 +192,7 @@ module Parser =
178
192
Object <| Array.append compProps objProps
179
193
| IsObject props -> Object props
180
194
| IsComposition props -> Object props
195
+
| IsWrapper ty -> ty
181
196
| IsPolymorphism _->
182
197
failwith "Models with Polymorphism Support is not supported yet. If you see this error please report it on GitHub (https://github.com/fsprojects/SwaggerProvider/issues) with schema example."
183
198
|_-> Object [||]// Default type when parsers could not determine the type based ob schema.
0 commit comments