knowject-api-to-types
Use when the user wants to generate TypeScript types from an OpenAPI document and wire them into the typed client produced by knowject-read-api. Triggers on phrases like "/knowject types", "把 openapi 转成 types", "给 read-api client 补类型", "生成 typed client 的类型", "rewrite the unknown placeholders", "wire types into the generated client". Day-1 input is OpenAPI 3 only — non-OpenAPI inputs (Express routes, Mongoose, Zod, Pydantic, Spring DTOs, Nest decorators, markdown specs, etc.) are refused with framework-specific recommendations for exposing OpenAPI.
Changelog: Source: GitHub https://github.com/lynxlangya/knowject
Loading comments...