execute oas-file import
Use this command to manually import OAS files for API Discovery. FortiADC supports OAS files compliant with OpenAPI 3.0 and Swagger 2.0 standard to parse and discover as internal API endpoints that can also be matched by incoming API requests or responses.
JSON and YAML file types are supported.
Syntax
execute oas-file import {ftp|tftp} <filename> <ip>
import |
Select the transfer protocol to use for the OAS file import:
The file should be in JSON or YAML format, and should follow OpenAPI 3.0 or Swagger 2.0 specifications. |
<filename> |
Specify the OAS file name. |
<ip> |
Specify the IP address. |