Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(ts): Fix links #5308

Merged
merged 3 commits into from Feb 14, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/Reference/TypeScript.md
Expand Up @@ -196,7 +196,7 @@ documentation below to learn more about what is available.
To validate your requests and responses you can use JSON Schema files. If you
didn't know already, defining schemas for your Fastify routes can increase their
throughput! Check out the [Validation and
Serialization](./Validation-and-Serialization.md) documentation for more info.
Serialization](../Validation-and-Serialization) documentation for more info.

Also it has the advantage to use the defined type within your handlers
(including pre-validation, etc.).
Expand All @@ -211,7 +211,7 @@ Fastify offers two packages wrapping `json-schema-to-ts` and `typebox`:
- `@fastify/type-provider-typebox`

They simplify schema validation setup and you can read more about them in [Type
Providers](./Type-Providers.md) page.
Providers](../Type-Providers) page.

Below is how to setup schema validation using vanilla `typebox` and
`json-schema-to-ts` packages.
Expand Down Expand Up @@ -1093,7 +1093,7 @@ server.get<requestGeneric>('/', async (request, reply) => {
```

If you want to see a detailed example of using this interface check out the
Learn by Example section: [JSON Schema](#jsonschema).
Learn by Example section: [JSON Schema](#json-schema).

##### fastify.RawRequestDefaultExpression\<[RawServer][RawServerGeneric]\>
[src](https://github.com/fastify/fastify/blob/main/types/utils.d.ts#L23)
Expand Down