Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit signifies a MAJOR reorganization of this project.
Spectral proper and Stoplight.io's integration of it currrently have significant functional gaps in regards to supported rules formats (.js vs .json vs .yml), abilities to split files, and use of remote (http) rulesets. Due to this as well as our need to leverage both Stoplight.io AND Spectral separately the ruleset has been re-created to meet the lowest common denominatior (Stoplight.io). Overview of the changes are: - Conversion and consolidation of rulesets into a single YAML file with spectral/stoplight default naming: .spectral.yml - Above change rendered existing test suites invalid and have been removed. Replacements tests to be considered in the future. - Current Testing now exists of linting a 'valid' OAS3.1 file against the ruleset. - Dev Dependencies have been updated. - npm test script has been updated to run spectral against the examples/valid folder Note-worthy Section Rules Added: - Document Structure: - Resource Objects - Attributes - Relationsihps - Related Resource Links - Resource Linkage - Resource Links - Compound Document - Fetching Data - Fetching Resources - Responses - Fetching Relationships - Inclusion of Related Resources - Sparse Fieldsets - Sorting - Pagination - Filtering - Creating/Updating/Deleting - Creating Resources - Updating Resources - Deleting Resources
- Loading branch information