Skip to content

openapi3.1 - add support for enums backed by multiple types - #5246

Merged
Christopher Radek (chrisradek) merged 1 commit into
microsoft:feature/openapi3.1from
chrisradek:openapi31-type-array-enums
Dec 12, 2024
Merged

Christopher Radek (chrisradek) merged 1 commit into
microsoft:feature/openapi3.1from
chrisradek:openapi31-type-array-enums

Conversation

@chrisradek

Copy link
Copy Markdown
Member

Implements #5011
The only place I found this made sense to emit a schema type as a list currently is with enums as mentioned in the linked issue.

@markcowl Mark Cowlishaw (markcowl) removed their assignment Dec 5, 2024
@chrisradek
Christopher Radek (chrisradek) merged commit 7dede04 into microsoft:feature/openapi3.1 Dec 12, 2024
github-merge-queue Bot pushed a commit that referenced this pull request Jan 14, 2025
This PR adds support for Open API 3.1 in the `@typespec/openapi3`
package.

The changes in this PR includes:
#4946 - adds `output-spec-versions` emitter option
#5035 - adds initial open api 3.1 schema emitter
#5245 - add support for tuples
#5246 - add support for enums backed by multiple types
#5310 - playground support for array of constants emitter options 
#5407 - add support for json-schema decorators
#5549 - add support for binary types in Open API 3.1

---------

Co-authored-by: Christopher Radek <Christopher.Radek@microsoft.com>
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.

2 participants