Fortinet black logo

Administration Guide

FAQ

FAQ

Why do I get an error message “Not a valid YAML file for OpenAPI” while uploading a valid YAML file on the “OpenAPI file” page?

An OpenAPI document may be represented either in JSON or YAML format. FortiWeb only supports OpenAPI files written in YAML format. A valid OpenAPI document not only conforms to YAML syntax but also to the OpenAPI Specification. You can utilize Swagger Editor to validate your OpenAPI document online/offline: HTTPS://swagger.io/docs/open-source-tools/swagger-editor/ for more details.

FAQ

Why do I get an error message “Not a valid YAML file for OpenAPI” while uploading a valid YAML file on the “OpenAPI file” page?

An OpenAPI document may be represented either in JSON or YAML format. FortiWeb only supports OpenAPI files written in YAML format. A valid OpenAPI document not only conforms to YAML syntax but also to the OpenAPI Specification. You can utilize Swagger Editor to validate your OpenAPI document online/offline: HTTPS://swagger.io/docs/open-source-tools/swagger-editor/ for more details.