| { |
| "jsonFile": { |
| "components": {}, |
| "info": { |
| "title": "RoutesExport", |
| "version": "3.0.0" |
| }, |
| "openapi": "3.0.0", |
| "paths": { |
| "/{params}": { |
| "post": { |
| "operationId": "route_name_0POST", |
| "parameters": [ |
| { |
| "description": "params in path", |
| "in": "path", |
| "name": "params", |
| "required": true, |
| "schema": { |
| "type": "string" |
| } |
| } |
| ], |
| "requestBody": {}, |
| "responses": { |
| "default": { |
| "description": "" |
| } |
| }, |
| "x-apisix-enable_websocket": false, |
| "x-apisix-priority": 0, |
| "x-apisix-status": 1, |
| "x-apisix-upstream": { |
| "nodes": [ |
| { |
| "host": "1.1.1.1", |
| "port": 80, |
| "weight": 1 |
| } |
| ], |
| "timeout": { |
| "connect": 6, |
| "read": 6, |
| "send": 6 |
| }, |
| "type": "roundrobin", |
| "scheme": "http", |
| "pass_host": "pass" |
| } |
| } |
| } |
| } |
| }, |
| "yamlFile": { |
| "components": {}, |
| "info": { |
| "title": "RoutesExport", |
| "version": "3.0.0" |
| }, |
| "openapi": "3.0.0", |
| "paths": { |
| "/{params}": { |
| "post": { |
| "operationId": "route_name_0POST", |
| "parameters": [ |
| { |
| "description": "params in path", |
| "in": "path", |
| "name": "params", |
| "required": true, |
| "schema": { |
| "type": "string" |
| } |
| } |
| ], |
| "requestBody": {}, |
| "responses": { |
| "default": { |
| "description": "" |
| } |
| }, |
| "x-apisix-enable_websocket": false, |
| "x-apisix-priority": 0, |
| "x-apisix-status": 1, |
| "x-apisix-upstream": { |
| "nodes": [ |
| { |
| "host": "1.1.1.1", |
| "port": 80, |
| "weight": 1 |
| } |
| ], |
| "timeout": { |
| "connect": 6, |
| "read": 6, |
| "send": 6 |
| }, |
| "type": "roundrobin", |
| "scheme": "http", |
| "pass_host": "pass" |
| } |
| } |
| }, |
| "/{params}-APISIX-REPEAT-URI-2": { |
| "post": { |
| "operationId": "route_name_1POST", |
| "parameters": [ |
| { |
| "description": "params in path", |
| "in": "path", |
| "name": "params", |
| "required": true, |
| "schema": { |
| "type": "string" |
| } |
| }, |
| { |
| "description": "params in path", |
| "in": "path", |
| "name": "params", |
| "required": true, |
| "schema": { |
| "type": "string" |
| } |
| } |
| ], |
| "requestBody": {}, |
| "responses": { |
| "default": { |
| "description": "" |
| } |
| }, |
| "x-apisix-enable_websocket": false, |
| "x-apisix-priority": 0, |
| "x-apisix-status": 1, |
| "x-apisix-upstream": { |
| "nodes": [ |
| { |
| "host": "2.2.2.2", |
| "port": 80, |
| "weight": 1 |
| } |
| ], |
| "timeout": { |
| "connect": 6, |
| "read": 6, |
| "send": 6 |
| }, |
| "type": "roundrobin", |
| "scheme": "http", |
| "pass_host": "pass" |
| } |
| } |
| } |
| } |
| } |
| } |