opanapi -> openapi (#378)

pull/381/head
Sacramentix 2024-02-04 22:36:50 +01:00 committed by GitHub
parent 404b44bf3a
commit 3789037401
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ const UserSchema = z
> [!TIP] > [!TIP]
> `UserSchema` schema will be registered as `"#/components/schemas/User"` refs in the OpenAPI document. > `UserSchema` schema will be registered as `"#/components/schemas/User"` refs in the OpenAPI document.
> If you want to register the schema as referenced components, use `.opanapi()` method. > If you want to register the schema as referenced components, use `.openapi()` method.
Next, create a route: Next, create a route: