Description
The postTransform option is handed the ts types as they're generated from each OpenAPI schema member in transformSchemaObject.
However, although there is a 1:1 mapping between calls to the postTransform, and OpenAPI schema members, postTransform has no access to the OpenAPI schema object associated with the generated ts node.
I think postTransform would be more useful if it gave access to the schema node, and it should be added to the options argument, passed to postTransform, along with path and ctx.
Checklist
Description
The
postTransformoption is handed the ts types as they're generated from each OpenAPI schema member intransformSchemaObject.However, although there is a 1:1 mapping between calls to the
postTransform, and OpenAPI schema members,postTransformhas no access to the OpenAPI schema object associated with the generated ts node.I think
postTransformwould be more useful if it gave access to the schema node, and it should be added to theoptionsargument, passed topostTransform, along withpathandctx.Checklist