From d0b0b50e4b0a650f348b615e968947a777b8bcfc Mon Sep 17 00:00:00 2001 From: unnoq Date: Sat, 23 Nov 2024 15:07:19 +0700 Subject: [PATCH] docs: playgrounds update (#20) --- playgrounds/contract-openapi/src/contract/auth.ts | 1 - playgrounds/expressjs/src/router/auth.ts | 1 - playgrounds/nextjs/src/router/auth.ts | 1 - playgrounds/openapi/src/router/auth.ts | 1 - 4 files changed, 4 deletions(-) diff --git a/playgrounds/contract-openapi/src/contract/auth.ts b/playgrounds/contract-openapi/src/contract/auth.ts index a4cb49fa..cdb5577f 100644 --- a/playgrounds/contract-openapi/src/contract/auth.ts +++ b/playgrounds/contract-openapi/src/contract/auth.ts @@ -26,7 +26,6 @@ export const refresh = oc path: '/refresh', summary: 'Refresh a token', }) - .input(TokenSchema) .output(TokenSchema) export const revoke = oc diff --git a/playgrounds/expressjs/src/router/auth.ts b/playgrounds/expressjs/src/router/auth.ts index 7de9c9c2..4499f250 100644 --- a/playgrounds/expressjs/src/router/auth.ts +++ b/playgrounds/expressjs/src/router/auth.ts @@ -38,7 +38,6 @@ export const refresh = authed path: '/refresh', summary: 'Refresh a token', }) - .input(TokenSchema) .output(TokenSchema) .handler(async (input, context, meta) => { return { diff --git a/playgrounds/nextjs/src/router/auth.ts b/playgrounds/nextjs/src/router/auth.ts index 7de9c9c2..4499f250 100644 --- a/playgrounds/nextjs/src/router/auth.ts +++ b/playgrounds/nextjs/src/router/auth.ts @@ -38,7 +38,6 @@ export const refresh = authed path: '/refresh', summary: 'Refresh a token', }) - .input(TokenSchema) .output(TokenSchema) .handler(async (input, context, meta) => { return { diff --git a/playgrounds/openapi/src/router/auth.ts b/playgrounds/openapi/src/router/auth.ts index 7de9c9c2..4499f250 100644 --- a/playgrounds/openapi/src/router/auth.ts +++ b/playgrounds/openapi/src/router/auth.ts @@ -38,7 +38,6 @@ export const refresh = authed path: '/refresh', summary: 'Refresh a token', }) - .input(TokenSchema) .output(TokenSchema) .handler(async (input, context, meta) => { return {