| { |
| "openapi": "3.0.0", |
| "info": { |
| "version": "1.0.0-oas3", |
| "description": "test desc", |
| "license": { |
| "name": "Apache License 2.0", |
| "url": "http://www.apache.org/licenses/LICENSE-2.0" |
| }, |
| "title": "test title" |
| }, |
| "paths": { |
| "/hello": { |
| "post": { |
| "x-api-limit": 20, |
| "description": "hello world.", |
| "operationId": "hello", |
| "x-apisix-upstream": { |
| "type": "roundrobin", |
| "nodes": [ |
| { |
| "host": "172.16.238.20", |
| "port": 1980, |
| "weight": 1, |
| "priority": 10 |
| } |
| ] |
| }, |
| "responses": { |
| "200": { |
| "description": "list response" |
| }, |
| "default": { |
| "description": "unexpected error" |
| } |
| } |
| } |
| } |
| } |
| } |