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
feat(union-types): adds support for OneOf and AnyOf (#41)
This commit adds support for union types that are OneOf and AnyOf types. There are 4 new classes (OneOf, AnyOf, LeafType, UnionTypeContext) that are participating as generic algorithms for validating requests and responses containing union types. You can read more about union types [here](https://swagger.io/docs/specification/data-models/oneof-anyof-allof-not/). By using those classes, the Python core library now has the handling for union types. This also adds support for the serialization of nested maps and arrays.
|[`ApiHelper`](apimatic_core/utilities/api_helper.py)| A Helper Class with various functions associated with making an API Call |
85
+
|[`AuthHelper`](apimatic_core/utilities/auth_helper.py)| A Helper Class with various functions associated with authentication in API Calls |
86
+
|[`ComparisonHelper`](apimatic_core/utilities/comparison_helper.py)| A Helper Class used for the comparison of expected and actual API response |
87
+
|[`FileHelper`](apimatic_core/utilities/file_helper.py)| A Helper Class for files |
88
+
|[`XmlHelper`](apimatic_core/utilities/xml_helper.py)| A Helper class that holds utility methods for xml serialization and deserialization. |
89
+
|[`DateTimeHelper`](apimatic_core/utilities/datetime_helper.py)| A Helper class that holds utility methods for validation of different datetime formats. |
90
+
|[`UnionTypeHelper`](apimatic_core/utilities/union_type_helper.py)| A Helper class that holds utility methods for deserialization and validation of OneOf/AnyOf union types. |
0 commit comments