Last active
January 28, 2020 17:40
-
-
Save ealogar/c4cb85ed0a5dbfe4eccc185a0402a81f to your computer and use it in GitHub Desktop.
4p mockbin 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"swagger": "2.0", | |
"info": { | |
"description": "Mockbin example API", | |
"version": "2.0.0", | |
"title": "Mockbin", | |
"termsOfService": "https://www.telefonica.es/es/", | |
"contact": { | |
"name": "4th Platform team", | |
"email": "4pf@tid.es" | |
} | |
}, | |
"schemes": [ | |
"https" | |
], | |
"consumes": [ | |
"application/json" | |
], | |
"produces": [ | |
"application/json" | |
], | |
"host": "mock.baikalplatform.es", | |
"x-fp-apiPrefix": "/mockbin", | |
"x-fp-health": "https://mock.baikalplatform.es/mockbin/healthz", | |
"basePath": "/mockbin/request", | |
"x-fp-scopesDefinition": { | |
"write:echo2": "returns the information plus the payload" | |
}, | |
"paths": { | |
"/echo": { | |
"post": { | |
"x-fp-scopes": [ | |
"write:echo2" | |
], | |
"description": "The mockbin api returns the payload as string", | |
"summary": "Returns the payload as string", | |
"operationId": "postEcho", | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { | |
"type": "object" | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment