{ "swagger": "2.0", "info": { "title": "OpenAPI 2.0 security basic example", "version": "1" }, "paths": { "/foo": { "get": { "responses": { "200": { "description": "OK" } }, "security": [ { "foo": [] } ] } } }, "securityDefinitions": { "foo": { "type": "basic" } } }