···236236237237The experimental parser produces a cleaner output while being faster than the legacy parser. It also supports features such as [Filters](#filters) and more will be added in the future.
238238239239-The legacy parser will remain enabled for the [legacy clients](/openapi-ts/clients/legacy) regardless of the `experimentalParser` flag value. However, it's unlikely to receive any further updates.
239239+The legacy parser will be used with the [legacy clients](/openapi-ts/clients/legacy) regardless of the `experimentalParser` flag value. However, it's unlikely to receive any further updates.
240240241241## Config API
242242
+75
docs/openapi-ts/fastify.md
···11+---
22+title: Fastify
33+description: Fastify plugin for Hey API. Compatible with all our features.
44+---
55+66+# Fastify
77+88+::: warning
99+Fastify plugin is currently in beta. The interface might change before it becomes stable. We encourage you to leave feedback on [GitHub](https://github.com/hey-api/openapi-ts/issues).
1010+:::
1111+1212+[Fastify](https://fastify.dev/) is a fast and low overhead web framework for Node.js.
1313+1414+<button class="buttonLink" @click="(event) => embedProject('hey-api-client-fetch-plugin-fastify-example')(event)">
1515+Live demo
1616+</button>
1717+1818+## Features
1919+2020+- seamless integration with `@hey-api/openapi-ts` ecosystem
2121+- type-safe route handlers
2222+- minimal learning curve thanks to extending the underlying technology
2323+2424+## Installation
2525+2626+::: warning
2727+Fastify plugin works only with the [experimental parser](/openapi-ts/configuration#parser) which is currently an opt-in feature.
2828+:::
2929+3030+Ensure you have already [configured](/openapi-ts/get-started) `@hey-api/openapi-ts`. Update your configuration to use the Fastify plugin.
3131+3232+```js
3333+export default {
3434+ client: '@hey-api/client-fetch',
3535+ experimentalParser: true, // [!code ++]
3636+ input: 'path/to/openapi.json',
3737+ output: 'src/client',
3838+ plugins: [
3939+ // ...other plugins
4040+ 'fastify', // [!code ++]
4141+ ],
4242+};
4343+```
4444+4545+You can now generate Fastify artifacts. 🎉
4646+4747+## Output
4848+4949+The Fastify plugin will generate the following artifacts, depending on the input specification.
5050+5151+## Route Handlers
5252+5353+Route handlers are generated from all endpoints. The generated interface follows the naming convention of services.
5454+5555+```ts
5656+const fastify = Fastify();
5757+const serviceHandlers: RouteHandlers = {
5858+ createPets(request, reply) {
5959+ reply.code(201).send();
6060+ },
6161+ listPets(request, reply) {
6262+ reply.code(200).send([]);
6363+ },
6464+ showPetById(request, reply) {
6565+ reply.code(200).send({
6666+ id: Number(request.params.petId),
6767+ name: 'Kitty',
6868+ });
6969+ },
7070+};
7171+fastify.register(glue, { serviceHandlers });
7272+```
7373+7474+<!--@include: ../examples.md-->
7575+<!--@include: ../sponsorship.md-->
+6
docs/openapi-ts/migrating.md
···50505151This config option is deprecated and will be removed.
52525353+## v0.56.0
5454+5555+### Deprecated `tree` in `@hey-api/types`
5656+5757+This config option is deprecated and will be removed when the experimental parser becomes the default.
5858+5359## v0.55.0
54605561This release adds the ability to filter your OpenAPI specification before it's processed. This feature will be useful if you are working with a large specification and are interested in generating output only from a small subset.
+1-1
docs/openapi-ts/output.md
···2828└── package.json
2929```
30303131-Each file is an artifact generated by a plugin. This is the default output, we will cover customizing it on this page.
3131+Each file is an artifact generated by a Hey API plugin. This is the default output, we will cover customizing it on this page. These files also form the base for third-party plugins.
32323333Let's go through each file in the `src/client` folder and explain what it looks like, what it does, and how to use it.
3434
+2-2
docs/openapi-ts/tanstack-query.md
···94949595:::
96969797-You can now run `openapi-ts` to generate TanStack Query artifacts. 🎉
9797+You can now generate TanStack Query artifacts. 🎉
98989999## Output
100100101101-The TanStack Query plugin will optionally generate the following output layers, depending on the input specification.
101101+The TanStack Query plugin will optionally generate the following artifacts, depending on the input specification.
102102103103## Queries
104104