Appia OpenAPI Language ServerLanguage Server that interacts with the Appia Marketplace and provides OpenAPI auto-completion and validation. ConfigurationConfigure the VSCode extension by clicking the ⚙ icon.
UsageWhen creating a consumer API specification you can create a new file that starts with
First, select the source that you want to use for auto-completing your consuming OpenAPI specification. Auto-complete the property
You should see auto-completions for the property Then, auto-complete one of the API specification sources. The document at that URL will be used as the source of your consuming OpenAPI specification.
For example, to use the specification of the Web Gateway, select the URL You should now have the document that contains servers, an information block, tags and security. Add some APIs and components by auto-completing the
The Now, select one of the available APIs:
Then select one of the APIs. For the example, we will use Next, auto-complete the available HTTP methods, for example
The entire contents of the API will be auto-completed, including the operation (API specification), the request and response specification and the corresponding models. |