Skip to content

Conversation

@Markeljan
Copy link
Member

Spec was failing with "path": {} which is valid and should pass.

Updates the sanitize function to retain root-level OpenAPI fields such as 'paths', 'components', 'security', and 'tags' even if they are empty. Also ensures the 'paths' field is always present in the sanitized spec, addressing issues with missing required fields in downstream processing.

Updates the sanitize function to retain root-level OpenAPI fields such as 'paths', 'components', 'security', and 'tags' even if they are empty. Also ensures the 'paths' field is always present in the sanitized spec, addressing issues with missing required fields in downstream processing.
@vercel
Copy link

vercel bot commented Jul 2, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
registry ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 2, 2025 1:29pm

Copy link
Contributor

@bh2smith bh2smith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would benefit from a test

@Markeljan Markeljan merged commit 6474735 into main Jul 8, 2025
3 checks passed
@Markeljan
Copy link
Member Author

This would benefit from a test

Agreed, deferred to creating an issue for now to unblock docs agent releases

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.

4 participants