You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The description for parameters in the generated OpenAPI JSON is placed inside the schema object, which does not conform to the OpenAPI specification. It should be directly on the parameter object.
Example Code:
params: z.object({
id: z.string().openapi({
example: "1234",
description: "Id of the object"
})
})
The description for parameters in the generated OpenAPI JSON is placed inside the schema object, which does not conform to the OpenAPI specification. It should be directly on the parameter object.
Example Code:
Current Output:
Expected Output:
The text was updated successfully, but these errors were encountered: