-
-
Notifications
You must be signed in to change notification settings - Fork 591
Closed
Labels
bugSomething isn't workingSomething isn't workingopenapi-tsRelevant to the openapi-typescript libraryRelevant to the openapi-typescript library
Description
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
- I’m willing to open a PR (see CONTRIBUTING.md)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingopenapi-tsRelevant to the openapi-typescript libraryRelevant to the openapi-typescript library
Type
Projects
Status
Done