Fortinet black logo

Troubleshooting Guide

FAQ

Copy Link
Copy Doc ID e6dc543a-b050-11ec-9fd1-fa163e15d75b:703612
Download PDF

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.