-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Description:
Update src/functions/isObjectSchema.js to use Spectral’s built-in schema function for validating object schemas, removing the need for custom manual checks.
Benefits:
- Leverages Spectral’s native schema handling and validation capabilities.
- Ensures consistent validation behavior across all rules.
Acceptance Criteria:
isObjectSchema.jsno longer exists.- The rule calls Spectral’s built-in
schemafunction for evaluation. - Unit tests confirm equivalent or improved behavior compared to the old implementatio
Proposed Steps:
- Replace custom validation logic with Spectral
schemafunction usage. - Update rule configuration and references accordingly.
- Verify rule output consistency with tests.
Metadata
Metadata
Assignees
Labels
No labels