This uses Duffel's open API schema as a base. The tricky bit we are at now is implementing enums, which are allowed in the open API schema, but which we usually represent in data_schema with casting_fns. So we may either have to implement a generic "enum" casting fn which we could drop in place as our casting fn, or add enums to data schema some other way.
This uses Duffel's open API schema as a base. The tricky bit we are at now is implementing enums, which are allowed in the open API schema, but which we usually represent in data_schema with casting_fns. So we may either have to implement a generic "enum" casting fn which we could drop in place as our casting fn, or add enums to data schema some other way.