Skip to content

Track generator: openapi-typescript #4

Description

@aqeelat

Tool

Validation Criteria

For generic/template fixtures (generic-schema-binding, paginated-response, api-envelope), the output must use reusable parameterized types:

Output Classification
type PaginatedTemplate<T> = { items: T[]; ... } with type PaginatedUserResponse = PaginatedTemplate<User> PASS
Separate type PaginatedUserResponse = { items: User[]; ... } / type PaginatedGroupResponse = { items: Group[]; ... } (duplicate concrete wrappers) PARTIAL — correct type content, lost reuse
items: unknown[] (fallback to not: {}) DEGRADED

For recursive fixtures (recursive-category-tree, non-identifier-schema-key), dynamic scope must resolve to the active recursive type (e.g., children: LocalizedCategory[], not children: unknown[]).

Current Result

Included in the expanded 9-tool matrix. Needs current generated-type excerpts for all dynamicRef fixtures before opening or updating upstream work.

Fixture Coverage

  • baseline-duplicated-pagination
  • generic-schema-binding
  • paginated-response
  • api-envelope
  • recursive-category-tree
  • nested-workspace-resources
  • non-identifier-schema-key

Next Action

Run the matrix cell set for this tool, paste short type excerpts for items, children, and shortcuts, then classify the output using the criteria above and decide whether an upstream issue is warranted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:generatorSDK generator and type emitter trackinglang:typescriptTypeScript generator or type outputneeds:reproNeeds a smaller reproduction or evidence excerpt

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions