-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: Complete initial set of test cases and refine JSONPath expressi…
…ons for JSON:API rules This commit marks the completion of detailed test cases for several JSON:API error object rulesets, including: - errors-error-objects-array-structure - errors-error-objects-object-structure - errors-error-objects-object-structure-length - errors-error-objects-items-id-type - errors-error-objects-items-links-type - errors-error-objects-items-links - errors-error-objects-items-links-structure-length - errors-error-objects-items-links-about-type - errors-error-objects-items-links-about-format - errors-error-objects-items-links-type-type - errors-error-objects-items-links-type-format Significant changes have been made to the JSONPath expressions and functions within these rulesets to enhance accuracy and efficiency. Notably, an issue with the 'errors-error-objects-array-structure' rule has been resolved by switching from a custom function to the 'enumeration' predefined function, simplifying the validation process and adhering to the prerequisite of using only predefined functions. Remaining tasks include completing test cases for the following rulesets: - errors-error-objects-items-status-type - errors-error-objects-items-code-type - errors-error-objects-items-title-type - errors-error-objects-items-detail-type - errors-error-objects-items-source-type - errors-error-objects-items-source - errors-error-objects-items-source-pointer-type - errors-error-objects-items-source-parameter-type - errors-error-objects-items-source-header-type - errors-error-objects-items-source-structure-length - errors-error-objects-items-items-type These updates significantly improve the robustness and reliability of the JSON:API error object validation process.
- Loading branch information
Showing
16 changed files
with
3,120 additions
and
623 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.