ONAP Developer Wiki
Spaces
Apps
Templates
Create
ONAP Wiki
All content
Space settings
Shortcuts
Shared links
Shared links
This trigger is hidden
File lists
File lists
This trigger is hidden
Meeting notes
Meeting notes
This trigger is hidden
JIRA Reports
JIRA Reports
This trigger is hidden
How-to articles
How-to articles
This trigger is hidden
Retrospectives
Retrospectives
This trigger is hidden
Product requirements
Product requirements
This trigger is hidden
Content
Results will update as you type.
ONAP Developer Wiki
ONAP Community Awards
Technical Steering Committee (TSC)
TSC Documentation
TSC Policies and Decision Logs
•
Reacting, Responding and Healing
TSC Subcommittees
Control Loop Subcommittee
Modeling sub-committee
•
2019 Modeling Subcommittee Decisions
•
2020 Modeling Subcommittee Decisions
•
2021 Modeling Subcommittee Decisions
•
2022 Modeling Subcommittee Decisions
•
Modeling Current Activity Status
•
Modeling sub-committee Contributions
Modeling sub-committee meetings
•
Modeling Subcommittee Election
•
Modeling Subcommittee Members
Modeling tools
ONAP Model Enabled Reviews
ONAP Modeling Design Principles and Guidelines
ONAP Modeling Governance
ONAP Modeling specification
ONAP Non-MANO Artifacts Set Identifiers
ONAP R2 Modeling working space
ONAP R3 Modeling working space
ONAP R4 Modeling working space
ONAP R5 Modeling work space
ONAP R6 Modeling working space
Developing ONAP API Documentation
API Style Validation Tool
•
ONAP Swagger Style Ruleset for Spectral
•
Conceptual API Documentation Structure
Meeting Notes for Developing API Docs
Proposed OpenAPI 2.0 / Swagger Style Guide
•
Swagger Insert Sample for Info Section
•
Using Redoc to Generate API Reference Documentation
ONAP R6 Modeling High Level Requirements
ONAP R6+ Common IM Workspace
ONAP R6+ Resource Data Model Workspace
ONAP R6+ Resource IM Workspace
ONAP R6+ Service IM Workspace
ONAP R7 Modeling working space
ONAP R8 Modeling working space
ONAP R9 Modeling working space
ONAP R10 Modeling working space
ONAP R11 Modeling working space
ONAP R12 Modeling working space
Process Improvements
Progress Summary Info for ONAP related SDOs
•
Recommended specs from SDOs
Target Platform Data Model (was Target Internal Data Model)
The Glossary of Modeling Subcommittee
•
the modeling contact from each ONAP project
ONAP Security coordination
Open Lab Subcommittee
•
Proposal: VNF Validation Subcommittee (VVC)
Requirements subcommittee (is merged into ARCCOM)
TSC Task Force - Cloud Native
TSC Task Force: ONAP for Enterprise Business
TSC Task Force: Wiki 2.0
Use Case Subcommittee (replaced by Requirements subcommittee)
x-Deprecated Architecture Subcommittee *** Please note New Location within ***
ONAP Vulnerability Management
Technical Community Coordinators and ONAP Liaisons
•
Test Notes
Blogs
ONAP Wiki
/
API Style Validation Tool
API Style Validation Tool
Andy Mayer
Owned by
Andy Mayer
Last updated:
Jan 08, 2020
Version comment
1 min read
Loading data...
Spectral
We have successfully applied Spectral along with custom rules to "lint" Swagger files based on the ONAP Swagger style guide!
Spectral may be found at:
https://github.com/stoplightio/spectral
Instructions to install Spectral may be found at:
https://stoplight.io/p/docs/gh/stoplightio/spectral/docs/getting-started/installation.md
With Spectral, ONAP can provide our own ruleset file extending the rules used by Spectral.
The Draft ONAP Swagger Specific Style Rules for Spectral may be found here:
ONAP Swagger Style Ruleset for Spectral
The Spectral CLI will look for a ruleset file called
.spectral.yml
or
.spectral.json
in the current working directory.
We could also use a different file by using the CLI option
--ruleset
Additional information on Spectral Rulesets may be found at:
https://stoplight.io/p/docs/gh/stoplightio/spectral/docs/getting-started/rulesets.md
{"serverDuration": 16, "requestCorrelationId": "1279debfcbd74756adae5db3bac4b4fc"}