Last active
March 30, 2020 18:50
-
-
Save wspringer/eca47a3e346e52951ee9a5515e145118 to your computer and use it in GitHub Desktop.
This file contains hidden or 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": "3.0", | |
"host": "localhost:8080", | |
"basePath": "/", | |
"schemes": ["http"], | |
"info": { "title": "EBT Documentation", "version": "0.0.1" }, | |
"tags": [], | |
"paths": { | |
"/ebt": { | |
"post": { | |
"summary": "Accepts an EBT request", | |
"operationId": "postEBT", | |
"consumes": ["application/xml"], | |
"parameters": [ | |
{ | |
"in": "body", | |
"name": "body", | |
"required": true, | |
"schema": { | |
"oneOf": [ | |
{ "$ref": "#/definitions/ConsumerTransfer" }, | |
{ "$ref": "#/definitions/ValidationAcknowledgement" } | |
] | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Succesful" | |
} | |
} | |
} | |
} | |
}, | |
"definitions": { | |
"ConsumerTransfer": { | |
"type": "object", | |
"properties": { "id": { "type": "integer" } } | |
}, | |
"ValidationAcknowledgement": { | |
"type": "object", | |
"proeprties": { "id": { "type": "string" } } | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment