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:

  1. On the workspace sidebar, select the project you want to download.

  2. Select the project to download on the workspace sidebar.

  3. Click Edit.

  4. 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:

  1. Open Stoplight .

  2. Go to the style guide you want to migrate.

  3. 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,.

Publication date: