Skip to content

Importing a tRPC schema

File ▸ Import (Ctrl+I) then your tRPC router’s JSON schema, usually served at <base>/.trpc/_schema.

When you import by URL, Restorm works out the router’s base URL by removing that suffix: the requests it creates therefore point straight at the right place.

ElementWhat Restorm makes of it
Each procedureA tRPC request
Its kindThe query or mutation type
Its input schemaA sample JSON input, as best it can