|
1 | 1 | [](#contributors-) |
| 4 | + |
| 5 | +[](#contributors-) |
| 6 | + |
4 | 7 | <!-- ALL-CONTRIBUTORS-BADGE:END -->
|
| 8 | + |
5 | 9 | (scoped)](https://img.shields.io/npm/v/@manifoldco/swagger-to-ts.svg)](https://www.npmjs.com/package/@manifoldco/swagger-to-ts)
|
6 | 10 | [](https://codecov.io/gh/manifoldco/swagger-to-ts)
|
7 | 11 |
|
@@ -40,6 +44,8 @@ npx @manifoldco/swagger-to-ts https://petstore.swagger.io/v2/swagger.json --outp
|
40 | 44 | # 🚀 https://petstore.swagger.io/v2/swagger.json -> petstore.ts [650ms]
|
41 | 45 | ```
|
42 | 46 |
|
| 47 | +_Thanks to @psmyrdek for this feature!_ |
| 48 | + |
43 | 49 | #### Generating multiple schemas
|
44 | 50 |
|
45 | 51 | In your `package.json`, for each schema you’d like to transform add one `generate:specs:[name]` npm-script. Then combine them all into one `generate:specs` script, like so:
|
@@ -254,11 +260,13 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
254 | 260 | <table>
|
255 | 261 | <tr>
|
256 | 262 | <td align="center"><a href="https://pow.rs"><img src="https://avatars3.githubusercontent.com/u/1369770?v=4" width="100px;" alt=""/><br /><sub><b>Drew Powers</b></sub></a><br /><a href="https://github.com/manifoldco/swagger-to-ts/commits?author=dangodev" title="Code">💻</a> <a href="https://github.com/manifoldco/swagger-to-ts/commits?author=dangodev" title="Documentation">📖</a> <a href="#infra-dangodev" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="https://github.com/manifoldco/swagger-to-ts/commits?author=dangodev" title="Tests">⚠️</a></td>
|
| 263 | + <td align="center"><a href="http://smyrdek.com"><img src="https://avatars1.githubusercontent.com/u/6187417?v=4" width="100px;" alt=""/><br /><sub><b>Przemek Smyrdek</b></sub></a><br /><a href="https://github.com/manifoldco/swagger-to-ts/commits?author=psmyrdek" title="Code">💻</a> <a href="https://github.com/manifoldco/swagger-to-ts/commits?author=psmyrdek" title="Documentation">📖</a> <a href="#ideas-psmyrdek" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/manifoldco/swagger-to-ts/commits?author=psmyrdek" title="Tests">⚠️</a></td> |
257 | 264 | </tr>
|
258 | 265 | </table>
|
259 | 266 |
|
260 | 267 | <!-- markdownlint-enable -->
|
261 | 268 | <!-- prettier-ignore-end -->
|
| 269 | + |
262 | 270 | <!-- ALL-CONTRIBUTORS-LIST:END -->
|
263 | 271 |
|
264 |
| -This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! |
| 272 | +This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! |
0 commit comments