Skip to content

Generated contract doesn't include input and output types #732

@akodkod

Description

@akodkod

Hi,

I'm unsure if this is an issue, but when I generate contract.json, it doesn't include any input or output schemas. However, when I do the same for OpenAPI, those schemas are included.

Here is the repository to reproduce the issue:
https://github.com/akodkod/orpc-contract

I prefer not to use a monorepo to import my router. Is there a solution to include types in a contract or to import the OpenAPI schema on the client?

Thank you!

Have a good day,
Andrew

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions