Skip to content

Support null type #1155

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dsuket
Copy link

@dsuket dsuket commented May 29, 2025

Description

Support for type: null added in OpenAPI Spec v3.1 has been implemented.

Motivation and Context

This addresses the issue reported in #1152. For details, please refer to Issue #1152.
Added null to the schema type so that it is displayed in anyOf and oneOf as well.

How Has This Been Tested?

Added null to the demo tests for anyOf and oneOf primitives and confirmed that it is displayed.

Screenshots (if appropriate)

Example with null added.
スクリーンショット 2025-05-29 11 22 55

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist

  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes if appropriate.
  • All new and existing tests passed.

@dsuket dsuket closed this May 29, 2025
@dsuket dsuket deleted the support-null-type-anyOf-oneOf branch May 29, 2025 03:46
@dsuket dsuket restored the support-null-type-anyOf-oneOf branch May 29, 2025 04:06
@dsuket dsuket reopened this May 29, 2025
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