Skip to content

Instantly share code, notes, and snippets.

@palmerabollo
Last active November 27, 2019 20:50
Show Gist options
  • Save palmerabollo/957bfa45c0cca19929c7a3205426da1a to your computer and use it in GitHub Desktop.
Save palmerabollo/957bfa45c0cca19929c7a3205426da1a to your computer and use it in GitHub Desktop.
Dummy Latency API
{
"swagger": "2.0",
"info": {
"description": "API with big latency",
"version": "1.0.0",
"title": "Latency API",
"termsOfService": "https://www.tid.es",
"contact": {
"name": "Fake Identity",
"email": "[email protected]"
}
},
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"host": "fn8zmyads1.execute-api.us-east-1.amazonaws.com",
"x-fp-apiPrefix": "/latency",
"x-fp-health": "https://fn8zmyads1.execute-api.us-east-1.amazonaws.com",
"basePath": "/default/performance-mock",
"x-fp-scopesDefinition": {
"write:echo2": "returns the information plus the payload"
},
"paths": {
"/": {
"get": {
"x-fp-scopes": [
"write:echo2"
],
"description": "The base API",
"summary": "Returns a dummy JSON response",
"operationId": "getLatency",
"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