Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScript module #941

Open
mottyc opened this issue Mar 7, 2019 · 5 comments
Open

TypeScript module #941

mottyc opened this issue Mar 7, 2019 · 5 comments

Comments

@mottyc
Copy link

mottyc commented Mar 7, 2019

Is there any development for TypeScript module?
If I'd like to write one, where is the best way to start? javascript / C# module?

@stoicflame
Copy link
Owner

Cool.

Yes, I'd suggest just copying whatever existing module might be closest to what you're looking for. I assume you'd start with JSON and not XML?

@mottyc
Copy link
Author

mottyc commented Mar 9, 2019

Yes, I'd like to create a TypeScript module (single file) which includes all the data types and service methods of the API. I'm looking for the closest module that I can reuse (preferably only changing FreeMarker templates). Should it be an external module?

@stoicflame
Copy link
Owner

If you send a pull request, I'd be happy to take a look and consider merging it. Some people prefer to keep their module separate so they have more control over bug fixes and release schedules.

Note that there is also a javascript module you may want to consider as the base.

@sortel64
Copy link

mottyc, How is this coming along? I would be very interesting in this as well! Is there anything I can do to help? Thanks.

@agaengel
Copy link
Contributor

we use Enunciate in our APIs and have https://github.com/vojtechhabarta/typescript-generator as additional plugin to generate a TypeScript client.

This could also be a solution to start with.

Regards
Alex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants