Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 1.11 KB

README.md

File metadata and controls

27 lines (16 loc) · 1.11 KB

Swagger to TypeScript

build badge coverage badge license badge

This project can transform Swagger Schema to TypeScript type or interface😉

⚠️ This tool is only for Swagger 2.0, OpenAPI 3.0 is to be developed.

How to use?

Open project website:

website

Then copy Swagger Schema Request URL to the input (or paste schema into editor):

swagger-editor

Finally, you can get TypeScript code:

result

You can also download or copy the transformed result by clicking proper icon button.