Skip to content

feat: OpenAPI 3.2#3437

Closed
RobinTail wants to merge 42 commits into
masterfrom
use-oas32
Closed

feat: OpenAPI 3.2#3437
RobinTail wants to merge 42 commits into
masterfrom
use-oas32

Conversation

@RobinTail

@RobinTail RobinTail commented Jun 4, 2026

Copy link
Copy Markdown
Owner

The Swagger validator still fails to check OAS 3.2, but the editor already supports it.

Boolean schemas are not yet supported by Zod, so I'm not allowing them in brandHandling yet.

Since 3.2 is not yet widely supported, I'm gonna consider it a breaking change.

@RobinTail RobinTail added enhancement New feature or request dependencies Pull requests that update a dependency file labels Jun 4, 2026
@coderabbitai

coderabbitai Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 4dbbaada-8aba-459e-b36f-1cbc46836a78

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch use-oas32

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@RobinTail RobinTail added the external bug it's a bug, but in a dependency label Jun 4, 2026
@coveralls-official

coveralls-official Bot commented Jun 4, 2026

Copy link
Copy Markdown

Coverage Status

coverage: 100.0%. remained the same — use-oas32 into master

Comment thread pnpm-workspace.yaml Outdated
Comment thread express-zod-api/src/documentation-helpers.ts Outdated
@RobinTail RobinTail added the refactoring The better way to achieve the same result label Jun 4, 2026
# Conflicts:
#	example/example.documentation.yaml
#	express-zod-api/src/documentation-helpers.ts
#	express-zod-api/tests/__snapshots__/documentation-helpers.spec.ts.snap
#	express-zod-api/tests/__snapshots__/documentation.spec.ts.snap
RobinTail added a commit that referenced this pull request Jun 5, 2026
…helper (#3442)

to operate Zod's JSON schema and assert OAS afterwards.

A type-only refactoring to simplify moving further into #3437 

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Refactor**
* Strengthened the documentation generation system with enhanced type
safety mechanisms. Expanded schema type support to accommodate a broader
range of definitions while ensuring validation accuracy. Optimized the
internal schema processing workflow for improved system flexibility and
maintainability.

* **Tests**
* Updated the test suite to align with the new schema type
specifications and enhanced documentation generation capabilities.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Comment thread express-zod-api/src/documentation.ts Outdated
@RobinTail

Copy link
Copy Markdown
Owner Author

Since I'm considering it a breaking change, the feature will be a part of #3469 and it's squashed into another PR #3480

@RobinTail RobinTail closed this Jun 20, 2026
RobinTail added a commit that referenced this pull request Jun 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file enhancement New feature or request external bug it's a bug, but in a dependency refactoring The better way to achieve the same result

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant