Skip to content

TypeScript bindings enhancements #121

@mdekrey

Description

@mdekrey

On the UI side, we'd like to attach our code generators to TanStack Query. This will be served better by a few enhancements to the TypeScript output:

  • Include "method" in the conversion object
  • Expand RequestConversion<> to include more meta details, including method.
  • Consider splitting operations by request body type (organizing by folder?) so that the content type does not need to be included
    • Consider including request content type in the conversion object
    • If operations are split, consider moving response parsing to separate file for reuse
    • If operations are split, provide additional files like operations/index.ts that include support by request type
  • Consider moving TS dependencies into generated output instead of the shared library for better side-by-side support of other versions of the generator Moved to TypeScript shared type packaging #126.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions