Spectral Integration - Phase 1
See original GitHub issueOverview
The purpose of Phase 1 is to be an MVP of integrating Spectral into the Stoplight UI. This will include:
- Add JSON schema validation (required, discussed below) #1
- A common rule-set that applies to all projects (not extendable), where specific rules can be enabled/disabled through UI. Which rules are enabled/disabled is tied to the session, so it won’t live in the project. #5
- Functionality for running rules within the context of the UI (ie, replace sway with Spectral).
- Functionality for returning rule results and categorizing based on severity and lint/validation. Also interpreting the Spectral result format into results needed by UI.
Validation
- JSON schema validation (tied to the current file-type, ie
oas2
,oas3
), with a valid/not-valid response - Items marked as invalid are errors (not warnings)
- Should not be able to disable validation
Linting
- Should be able to be enabled/disabled #2
- Be able to mark certain rule severity (error vs warning) #6
- [future] Should be able to customize/extend functionality
- [future] Should be able to store rules in project
Open Questions
- How to differentiate which rules apply to which file types? Should we add it it to the rule object, or should there be some other method used (ie, something similar to tslint, where you can group rule names by file type but disconnected from rule definition)?
- Should the default rule set mimic the current sway warning rules?
- How to define validation vs lint rules? Should validations even be customizable?
- How to return validation vs lint results?
- Should validations just be a rule type (similar to the other lint rules), or should we have a separate rule format for validations?
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Spectral integration and two-point boundary value problems
developed which is based on integral equations and the spectral integration matrix for Chebyshev nodes. The method is stable, achieves superalgebraic ...
Read more >Spectral and temporal integration of brief tones - PMC - NCBI
Integration of signals with different slopes. Filled circles are the thresholds for signals with greater spectral distance (slope >1), open circles are ...
Read more >Spectral method - Wikipedia
Spectral methods are a class of techniques used in applied mathematics and scientific computing to numerically solve certain differential equations.
Read more >Spectral Integration and the Numerical Solution of Two-Point
1. 2. Spectral Integration. 8. 2.1 The Spectral Integration Matrices Si and Sr ... The final step in the derivation is to express...
Read more >Analytic Spectral Integration of Birefringence-Induced ...
Figure 1: (Left) Photo captured through the window of a train using a common ... lytic expression for spectral integration of the phase...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes, all of the initial goals have been met.
This feels pretty much done eh?