Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
【型定義がない!自動生成したい!TypeScript x Swagger】Swagger.ymlからschema.d.tsを生成する

npx @manifoldco/swagger-to-ts swagger.yml --wrapper "declare namespace API" --output schema.d.ts

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