私はswaggerエディターが初めてです。編集モードでは、APIのドキュメンテーションを非常にうまく行っています。しかし、オペラ、クロム、Firefoxではデザイナーモードが有効になりません。ブラウザでこれを有効にするにはどうすればよいですか? これは私がエディタモードで行ったサンプルです。
{
"swagger": "2.0",
"info": {
"title": "Uber API",
"version": "1.0.0"
},
"host": "api.uber.com",
"schemes": [
"https"
],
"basePath": "/v1",
"produces": [
"application/json"
],
"paths": {
"/products": {
"get": {
"summary": "Product Types",
"description": " test",
"parameters": [
{
"name": "longitude",
"in": "query",
"description": "Longitude component of location.",
"required": true,
"type": "number",
"format": "double"
}
],
"tags": [
"Products"
],
"responses": {
"200": {
"description": "An array of products"
},
"default": {
"description": "Unexpected error"
}
}
}
}
}}
Desingerモードでこれを行うにはどうすればよいですか? 私を助けてください 。