Skip to content

Not needing manual type definitions for server #2621

@galloj

Description

@galloj

Description

The documentation claims that the server can be created with "Zero manual type definitions needed". However, in the example, zod is used to manually create types for runtime validation.

Proposal

The zod validator should be constructed automatically from the OpenAPI spec.

Possible alternative solutions: specify in the documentation how to construct the zod validator automatically from the OpenAPI spec; or remove the claim from the documentation.

Extra

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestopenapi-tsRelevant to the openapi-typescript library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions