Closed thantos closed 1 year ago
Goal: support openapi schema for openai
openApi
Service
description
summary
TODO: document how to handle per object/property descriptions. TODO: update documentation with the above changes
import { extendApi } from "@anatine/zod-openapi"; ... input: z.object({ userId: extendApi(z.string(), { description: "The user ID to retrieve" }), }),
Goal: support openapi schema for openai
openApi
property onService
description
andsummary
fieldsTODO: document how to handle per object/property descriptions. TODO: update documentation with the above changes