Skip to content

Instantly share code, notes, and snippets.

@SrDios
Last active November 14, 2018 08:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SrDios/41eec2a43f567a7eaa6a5110495d2793 to your computer and use it in GitHub Desktop.
Save SrDios/41eec2a43f567a7eaa6a5110495d2793 to your computer and use it in GitHub Desktop.
Swagger merge json example
{
"swagger": "2.0",
"info": {
"description": "API for Foreign Exchange Point of Sale",
"version": "1.0.0",
"title": "POS API",
"termsOfService": "",
"contact": {
"email": ""
},
"license": {
"name": "",
"url": ""
}
},
"host": "api.fexcofts.com",
"basePath": "/",
"tags": [{
"name": "locations",
"description": "Everything about your Location"
},
{
"name": "rates",
"description": "Everything about rates"
},
{
"name": "transactions",
"description": "Everything about transactions"
},
{
"name": "fees",
"description": "Everything about fees"
}
],
"schemes": [
"https"
],
"apis": [{
"url": "https://gitlab-delivery-platform.fexcofts.com/cp/data-structures/raw/master/endpoints/swagger/swagger_rate.json",
"resolve": {
"http": {
"headers": {
"PRIVATE-TOKEN": "3tpc3WWWrVzE-nVgwpuS"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment