Skip to content

Handle const keyword#325

Open
gustavgransbo wants to merge 4 commits into
astahmer:mainfrom
gustavgransbo:handle-const
Open

Handle const keyword#325
gustavgransbo wants to merge 4 commits into
astahmer:mainfrom
gustavgransbo:handle-const

Conversation

@gustavgransbo

Copy link
Copy Markdown

This PR does two things:

  1. Bumps openapi-ts, so that OpenAPI 3.1 schema can be used.
  2. Handles the const keyword, introduced in OpenAPI 3.1 to represent single valued enums: https://www.speakeasy.com/openapi/schemas/enums#constants-for-single-value-enums

Gustav Gränsbo added 3 commits March 18, 2025 11:20
Nullable has been removed in OpenAPI 3.1, and should instead be
represented by a union that contains null.
@vercel

vercel Bot commented Mar 19, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
openapi-zod-client-rim4 ❌ Failed (Inspect) Mar 19, 2025 11:51am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant