APIG allows you to import Swagger 2.0 APIs to existing or new API groups. Swagger is an open-source tool built based on OpenAPI specifications to design, build, record, and use REST APIs.
You can import APIs individually or in batches depending on the number of APIs contained in a Swagger file.
Parameter |
Description |
---|---|
Import |
Options:
|
API group |
Select an API group if you set Import to Existing group. |
Basic Definition Overwrite |
Determine whether to overwrite an existing API if the name of the API is the same as that of an imported API. This parameter is available only if you set Import to Existing group. |
Extended Definition Overwrite |
If this option is selected, the extended definition items (access control and request throttling policies) of an imported API will overwrite the existing policies with the same name. |
YAML and JSON files are supported. You can preview the API content to be imported on the Import API page.
You can configure the global settings for the APIs, such as frontend and backend requests, or modify other parameters of the APIs.
Imported APIs must be manually published so that they become available for users to access.
Publish the imported API in an environment so that it can be called by users.