···11+MIT License
22+33+Copyright (c) Hey API
44+55+Permission is hereby granted, free of charge, to any person obtaining a copy
66+of this software and associated documentation files (the "Software"), to deal
77+in the Software without restriction, including without limitation the rights
88+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
99+copies of the Software, and to permit persons to whom the Software is
1010+furnished to do so, subject to the following conditions:
1111+1212+The above copyright notice and this permission notice shall be included in all
1313+copies or substantial portions of the Software.
1414+1515+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1616+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1717+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121+SOFTWARE.
+41
packages/rollup-plugin/README.md
···11+<div align="center">
22+ <img alt="Hey API logo" height="150" src="https://heyapi.dev/images/logo-300w.png" width="150">
33+ <h1 align="center"><b>Vite/Rollup Plugin</b></h1>
44+ <p align="center">🚀 Vite/Rollup plugin for `@hey-api/openapi-ts` codegen.</p>
55+</div>
66+77+## Platform
88+99+Our platform for OpenAPI specifications is now available. Automatically update your code when the APIs it depends on change. [Find out more](https://heyapi.dev/openapi-ts/integrations).
1010+1111+## Documentation
1212+1313+Please visit our [website](https://heyapi.dev/) for documentation, guides, migrating, and more.
1414+1515+## Sponsors
1616+1717+Love Hey API? Become our [sponsor](https://github.com/sponsors/hey-api).
1818+1919+<p>
2020+ <a href="https://kutt.it/pkEZyc" target="_blank">
2121+ <img alt="Stainless logo" height="50" src="https://heyapi.dev/images/stainless-logo-wordmark-480w.jpeg" />
2222+ </a>
2323+</p>
2424+2525+## Usage
2626+2727+Add to `plugins` inside your Vite/Rollup configuration.
2828+2929+```ts
3030+import { heyApiPlugin } from '@hey-api/rollup-plugin';
3131+3232+export default defineConfig({
3333+ plugins: [
3434+ heyApiPlugin({
3535+ config: {
3636+ // optional configuration instead of using the configuration file
3737+ },
3838+ }),
3939+ ],
4040+});
4141+```