Skip to content
Snippets Groups Projects
Commit b7243511 authored by SAM CARPENTER's avatar SAM CARPENTER
Browse files

swagger file for betty testing

parent dd551364
Branches audit-header
No related tags found
No related merge requests found
{
"swagger" : "2.0",
"info" : {
"description" : null,
"version" : "1.0.0",
"title" : null,
"termsOfService" : null,
"contact" : null,
"license" : null
},
"host" : "mock.dev.api.wisc.edu",
"basePath" : "/funding",
"schemes" : [ "https" ],
"paths" : {
"/validate-funding" : {
"post" : {
"tags" : [ "validate-funding" ],
"summary" : null,
"description" : null,
"operationId" : "validate-funding",
"produces" : [ "application/json" ],
"consumes" : [ "application/json" ],
"parameters" : [ {
"name" : "data",
"in" : "query",
"description" : null,
"required" : false,
"type" : "object"
}, {
"name" : "Content-Type",
"in" : "header",
"description" : null,
"required" : false,
"type" : "string"
} ],
"responses" : {
"200" : {
"description" : "successful operation",
"schema" : {
"$ref" : "#/definitions/validate-funding"
}
}
}
}
}
},
"definitions" : {
"validate-funding##data##attributes##lines" : {
"properties" : {
"errors" : {
"type" : "string"
},
"valid" : {
"type" : "boolean"
}
}
},
"validate-funding##data##attributes" : {
"properties" : {
"journalErrors" : {
"type" : "string"
},
"lines" : {
"type" : "array",
"items" : {
"$ref" : "#/definitions/validate-funding##data##attributes##lines"
}
},
"valid" : {
"type" : "boolean"
}
}
},
"validate-funding##data" : {
"properties" : {
"attributes" : {
"$ref" : "#/definitions/validate-funding##data##attributes"
},
"id" : {
"type" : "string"
},
"type" : {
"type" : "string"
}
}
},
"validate-funding" : {
"properties" : {
"data" : {
"$ref" : "#/definitions/validate-funding##data"
}
}
}
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment