swagger-api / swagger-codegen

swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.
http://swagger.io
Apache License 2.0
16.81k stars 6.02k forks source link

Use swagger.d.ts for TypeScript codegen #1044

Open mohsen1 opened 8 years ago

mohsen1 commented 8 years ago

I wrote the type definition for Swagger. Use it in codegen.

https://github.com/mohsen1/swagger.d.ts

SamuelMarks commented 8 years ago

Thanks! - Maybe add it to https://github.com/borisyankov/DefinitelyTyped also?

mohsen1 commented 8 years ago

I made a pull request a while ago

crissdev commented 8 years ago

Related PR https://github.com/DefinitelyTyped/DefinitelyTyped/pull/5426