Skip to content

Conversation

@keigo-brook
Copy link
Contributor

Pull Request

Thank you for contributing to swagger-core!

Please fill out the following information to help us review your PR efficiently.


Description

Fixes: #4341

Type of Change

  • πŸ› Bug fix
  • ✨ New feature
  • ♻️ Refactor (non-breaking change)
  • πŸ§ͺ Tests
  • πŸ“ Documentation
  • 🧹 Chore (build or tooling)

Checklist

  • I have added/updated tests as needed
  • I have added/updated documentation where applicable
  • The PR title is descriptive
  • The code builds and passes tests locally
  • I have linked related issues (if any)

Screenshots / Additional Context

@ewaostrowska ewaostrowska force-pushed the bug/4341-fix-required-mode-array-schema branch from cca635e to 3edb10d Compare October 27, 2025 14:49
@ewaostrowska ewaostrowska force-pushed the bug/4341-fix-required-mode-array-schema branch from 3edb10d to 9c13612 Compare November 21, 2025 10:22
@ewaostrowska ewaostrowska merged commit cf11db7 into swagger-api:master Nov 24, 2025
5 checks passed
@ewaostrowska
Copy link
Contributor

@keigo-brook thank you for taking care of this issue. I have added an additional test to prove that it works for other properties as well. Otherwise looks good :)

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.

Whether an array is required or not should be controlled by ArraySchema.arraySchema.requiredMode instead of ArraySchema.schema.requiredMode

2 participants