Migrating Spectral Style Guides
Rulesets help ensure consistency, quality, and compliance with internal or industry standards across your API specifications.
Export a project
Using the Design Editor (edit mode), you can export an entire project, including all API definitions, models, and Markdown articles.
To export a project, perform the following steps:
On the workspace sidebar, select the project you want to download.
Select the project to download on the workspace sidebar.
Click Edit.
Select Download project ZIP in the menu.
Downloading projects resolves $refs in API and JSON schema files. References to component library models are shown in the APIs for this type of export. For more information, see Export Files.
Export Spectral style guides from Stoplight Studio
To export Spectral style guides from Stoplight Studio, you must use the Export option available in the style guide project in your workspace.
To export Spectral style guides, perform the following steps:
Open Stoplight .
Go to the style guide you want to migrate.
Click Export.
The style guide downloads as a ZIP file.
Import Spectral style guides into Swagger Studio
Use either the manual method or the Registry APIs to import Spectral style guides into Swagger Studio,.
To import Spectral style guides manually, refer to the instructions in Importing Spectral Style Guides.
To import Spectral style guides using Registry APIs, use the Swagger Registry API saveRulesetZip endpoint.