Skip to content

Instantly share code, notes, and snippets.

@wspringer
Created March 30, 2020 18:54
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 wspringer/5dad1fb77c063ef9f4e4a9df8fcd304f to your computer and use it in GitHub Desktop.
Save wspringer/5dad1fb77c063ef9f4e4a9df8fcd304f to your computer and use it in GitHub Desktop.
{
"swagger": "2.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":
{ "$ref": "#/definitions/ConsumerTransfer" }
}
],
"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