Fortellis Spec ToolsUsing Spec ToolsFortellis Spec Tools currently exposes two commands to help working with Fortellis API specifications: "Validate" and "Preview". ValidateThe validate command allows you to run the Fortellis spec validator on any Viewing Validation NoticesWhen the extension validates your API spec it will highlight errors inline with a red squiggley underline. You can hover over these to view the notice description in a tooltip. You can also view validation notices in the activity bar under the "Fortellis Spec" tab denoted by the Fortellis icon. PreviewThe preview command allows you to view a mock-up of what your spec's API documentation will look like on https://apidocs.fortellis.io/ once your spec has been published. The preview is live updating so you can keep it open to see your work as you go. ConfigurationYou can configure how Fortellis Spec Tools validates specifications. You can change these configuration values by clicking "Code" in the top left, going to Preferences > Settings and searching "Fortellis" in the "Search Settings" input.
|