TypeScript definitions #2
Answered
by
MagicA550
mitchell-merry
asked this question in
Q&A
-
Do any (public) typescript definitions exist for this API? Edit: If they don't I'd start work on making them, to clarify. |
Beta Was this translation helpful? Give feedback.
Answered by
MagicA550
Jun 24, 2022
Replies: 1 comment 2 replies
-
Hey there! Thanks for your question. The easiest way to get types is to generate it yourself using openapi-typescript-codegen which automatically creates a HTTP client in TypeScript using the OpenAPI schema. Although I believe there are some wrappers already in progress on NPM from third parties you're always welcome to work on one yourself unofficially. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
MagicA550
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey there!
Thanks for your question. The easiest way to get types is to generate it yourself using openapi-typescript-codegen which automatically creates a HTTP client in TypeScript using the OpenAPI schema. Although I believe there are some wrappers already in progress on NPM from third parties you're always welcome to work on one yourself unofficially.