Feature Description
Add support for parsing and validating OpenAPI Specification 3.2.0. This update addresses the gap in current swagger-parser capabilities where only older OpenAPI versions are supported, preventing users from leveraging the latest specification features and improvements.
Use Case
- Modern API Development: Teams adopting OpenAPI 3.2.0 for new API specifications cannot use swagger-parser for validation, documentation generation, or code generation workflows
- Migration Projects: Organizations upgrading from older OpenAPI versions (3.0.x, 3.1.x) to 3.2.0 need tooling support to validate their migrated specifications
- CI/CD Pipelines: Automated API validation in deployment pipelines fails when encountering OpenAPI 3.2.0 specs, breaking development workflows
- Toolchain Integration: Downstream tools that rely on swagger-parser (documentation generators, mock servers, client SDK generators) cannot process 3.2.0 specs
Suggested Solution (optional)
- Schema Updates: Update the internal schema definitions to support OpenAPI 3.2.0 structure and validation rules
- Version Detection: Enhance version parsing to recognize
3.2.0 in the openapi field
- Backward Compatibility: Maintain support for existing OpenAPI versions while adding 3.2.0 capabilities
- New Feature Support: Implement support for 3.2.0 specific features such as:
- Updated JSON Schema dialect (2020-12)
- New webhook object support
- Enhanced security scheme features
Alternatives Considered
Additional Context
Checklist
Feature Description
Add support for parsing and validating OpenAPI Specification 3.2.0. This update addresses the gap in current swagger-parser capabilities where only older OpenAPI versions are supported, preventing users from leveraging the latest specification features and improvements.
Use Case
Suggested Solution (optional)
3.2.0in theopenapifieldAlternatives Considered
Additional Context
Checklist