Alexander
Alexander
 in this snippet, the function is called three times with the same result, almost. Perhaps you can get by with just one function call.
problem: If I send the payload with extra fields, then I get an error in the rest. rest does not expect extra fields. ```typescript interface ProductModify { name: string; }...
I suggest adding support `anyOf` to codegen. the difference between `anyOf` and `oneOf` is discussed here: https://stackoverflow.com/a/56039838
schema.yaml ``` ... components: schemas: BaseSchema: type: object properties: type: type: string enum: - FOO - BAR - BAZ required: - type FooSchema: allOf: - $ref: '#/components/schemas/BaseSchema' - type: object...