Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OpenAPI3 Emitter] Add option to map safeint to double-int #2933

Merged
merged 13 commits into from
Mar 1, 2024

Conversation

timotheeguerin
Copy link
Member

@timotheeguerin timotheeguerin commented Feb 17, 2024

fix #2367
Format was added to the schema registry so we are safe to use that now https://spec.openapis.org/registry/format/double-int.html

@azure-sdk
Copy link
Collaborator

azure-sdk commented Feb 17, 2024

All changed packages have been documented.

@azure-sdk
Copy link
Collaborator

You can try these changes at https://cadlplayground.z22.web.core.windows.net/prs/2933/

Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/prs/2933/

@timotheeguerin timotheeguerin added the breaking-change A change that might cause specs or code to break label Feb 17, 2024
@timotheeguerin timotheeguerin removed the breaking-change A change that might cause specs or code to break label Feb 28, 2024
@timotheeguerin timotheeguerin changed the title Safeint map to new double-int format [OpenAPI3 Emitter] Add option to map safeint to double-int Feb 28, 2024
packages/openapi3/README.md Show resolved Hide resolved
packages/openapi3/src/lib.ts Show resolved Hide resolved
packages/openapi3/src/lib.ts Show resolved Hide resolved
packages/openapi3/src/schema-emitter.ts Show resolved Hide resolved
packages/openapi3/test/primitive-types.test.ts Outdated Show resolved Hide resolved
@timotheeguerin timotheeguerin merged commit 9654dd8 into microsoft:main Mar 1, 2024
14 checks passed
@timotheeguerin timotheeguerin deleted the safe-int-openapi3 branch March 1, 2024 00:05
markcowl pushed a commit to markcowl/cadl that referenced this pull request Mar 8, 2024
…soft#2933)

fix  microsoft#2367 
Format was added to the schema registry so we are safe to use that now
https://spec.openapis.org/registry/format/double-int.html

---------

Co-authored-by: Brian Terlson <brian.terlson@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.

[OpenAPI] Safeint emits int64 format
4 participants