Skip to content

Swagger definitions convert TypeScript type definition tool.

Notifications You must be signed in to change notification settings

KoutaMatsushita/swagger-to-ts

Repository files navigation

swagger-to-ts

convert swagger.yml definitions to TypeScript type definition.

exported code is format by 'prettier'.

How to use

$ deno run --allow-env --allow-read https://raw.githubusercontent.com/KoutaMatsushita/swagger-to-ts/master/cli.ts -i /path/to/swagger.yml | pbcopy

# or

$ deno run --allow-env --allow-read https://raw.githubusercontent.com/KoutaMatsushita/swagger-to-ts/master/cli.ts -i '/path/*/swagger.yml' | pbcopy

About

Swagger definitions convert TypeScript type definition tool.

Topics

Resources

Stars

Watchers

Forks