Exporting with Resolved References

Export Modeling File

What

By default, Stoplight exports files with references unresolved. References within your spec will appear like this: "$ref": "#/foo/bar". To resolve these references follow the steps below.

How

  1. Select the Modeling file you want to modify
  2. Click the right facing arrow next to the file name to export the file

    A new window will appear with your exported file

  3. Following the exported files URL, input one of the following:

Resolve Remote References

Sample URL Deref Remote

?deref=remote

Resolve References within the File

Sample URL Deref Local

?deref=local

Resolve Both

Sample URL Deref All

?deref=all


Related Articles