Skip to content

"reflection" of SDK methods #3152

@salisbury-espinosa

Description

@salisbury-espinosa

Description

It would be great to have a way (some util) to get "meta" of each SDK autogen method from sdk.gen.ts:

  1. url
  2. method
  3. responseType

These fields can be used in algorithms for creating auto-filled fields in a request (for example, some request signatures, etc.), and it would be great to be able to obtain this metainfo at runtime using a method.

now i am using ts-morph for this....

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