{"components":{"securitySchemes":{"aa_auth":{"type": "oauth2","flows":{"implicit":{"authorizationUrl": "http://localhost:8080/oauth2/code","scopes":{"aa.w": "write access","aa.r": "read access","server.info.r":"read server info"}}}}}},"servers": [ { "url": "http://aa.networknt.com/v1" } ],"openapi": "3.0.0","paths":{"/data": { "get": { "description": "Return an array of strings collected from down stream APIs", "operationId": "listData", "responses": { "200": { "description": "Successful response", "content": { "application/json": { "schema": { "title": "ArrayOfStrings", "type": "array", "items": { "type": "string" } }, "examples": { "response": { "value": [ "Message 1", "Message 2" ] } } } } } }, "security": [ { "aa_auth": [ "aa.w", "aa.r" ] } ] } },"/health":{"get":{"responses":{"200":{"description":"successful operation"}},"parameters":[]}},"/server/info":{"get":{"security":[{"aa_auth":["server.info.r"]}],"responses":{"200":{"description":"successful operation"}},"parameters":[]}}},"info": { "version": "1.0.0", "title": "API AA for aggregate microservices pattern", "description": "API AA is called by consumer directly and it will call API AB, API AC and API AD to get data", "contact": { "email": "stevehu@gmail.com" }, "license": { "name": "Apache 2.0", "url": "http://www.apache.org/licenses/LICENSE-2.0.html" } }}