openapi-nodejs-sdk icon indicating copy to clipboard operation
openapi-nodejs-sdk copied to clipboard

Missing TypeScript definitions for dynamic endpoints (NestJS)

Open francescobianco opened this issue 1 year ago • 0 comments

The autogenerated types don’t include dynamic parameters for endpoints like getCompanyById(id). When using TypeScript in NestJS, the SDK requires casting to any for most calls. Proposed fix: Extend OpenAPI schema generation to emit .d.ts with inferred types from the YAML spec.

francescobianco avatar Nov 09 '25 14:11 francescobianco