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

create swagger file with modular URL for caseiq

parent 142124c7
No related branches found
No related tags found
No related merge requests found
...@@ -12,38 +12,26 @@ ...@@ -12,38 +12,26 @@
"basePath" : "/people", "basePath" : "/people",
"schemes" : [ "https" ], "schemes" : [ "https" ],
"paths" : { "paths" : {
"/" : { "/{personapiid}" : {
"get" : { "get" : {
"tags" : [ "getPeople" ], "tags" : [ "getPerson" ],
"summary" : null, "summary" : null,
"description" : null, "description" : null,
"operationId" : "getPeople", "operationId" : "getPerson",
"produces" : [ "application/json" ], "produces" : [ "application/json" ],
"consumes" : [ "application/json" ], "consumes" : [ "application/json" ],
"parameters" : [ { "parameters" : [ {
"name" : "include", "name" : "personapiid",
"in" : "query", "in" : "path",
"description" : null, "description" : null,
"required" : false, "required" : true,
"type" : "string"
}, {
"name" : "filter[identifiers.value]",
"in" : "query",
"description" : null,
"required" : false,
"type" : "string"
}, {
"name" : "filter[identifiers.name]",
"in" : "query",
"description" : null,
"required" : false,
"type" : "string" "type" : "string"
} ], } ],
"responses" : { "responses" : {
"200" : { "200" : {
"description" : "successful operation", "description" : "successful operation",
"schema" : { "schema" : {
"$ref" : "#/definitions/getPeople" "$ref" : "#/definitions/getPerson"
} }
} }
} }
...@@ -51,8 +39,11 @@ ...@@ -51,8 +39,11 @@
} }
}, },
"definitions" : { "definitions" : {
"getPeople##data##attributes" : { "getPerson##data##attributes" : {
"properties" : { "properties" : {
"continuousServiceDate" : {
"type" : "string"
},
"emailAddress" : { "emailAddress" : {
"type" : "string" "type" : "string"
}, },
...@@ -70,21 +61,21 @@ ...@@ -70,21 +61,21 @@
} }
} }
}, },
"getPeople##data##links" : { "getPerson##data##links" : {
"properties" : { "properties" : {
"self" : { "self" : {
"type" : "string" "type" : "string"
} }
} }
}, },
"getPeople##data##meta" : { "getPerson##data##meta" : {
"properties" : { "properties" : {
"ferpa" : { "ferpa" : {
"type" : "boolean" "type" : "boolean"
} }
} }
}, },
"getPeople##data##relationships##addresses##data" : { "getPerson##data##relationships##addresses##data" : {
"properties" : { "properties" : {
"id" : { "id" : {
"type" : "string" "type" : "string"
...@@ -94,44 +85,44 @@ ...@@ -94,44 +85,44 @@
} }
} }
}, },
"getPeople##data##relationships##addresses##links" : { "getPerson##data##relationships##addresses##links" : {
"properties" : { "properties" : {
"related" : { "related" : {
"type" : "string" "type" : "string"
} }
} }
}, },
"getPeople##data##relationships##addresses" : { "getPerson##data##relationships##addresses" : {
"properties" : { "properties" : {
"data" : { "data" : {
"type" : "array", "type" : "array",
"items" : { "items" : {
"$ref" : "#/definitions/getPeople##data##relationships##addresses##data" "$ref" : "#/definitions/getPerson##data##relationships##addresses##data"
} }
}, },
"links" : { "links" : {
"$ref" : "#/definitions/getPeople##data##relationships##addresses##links" "$ref" : "#/definitions/getPerson##data##relationships##addresses##links"
} }
} }
}, },
"getPeople##data##relationships##affiliations##links" : { "getPerson##data##relationships##affiliations##links" : {
"properties" : { "properties" : {
"related" : { "related" : {
"type" : "string" "type" : "string"
} }
} }
}, },
"getPeople##data##relationships##affiliations" : { "getPerson##data##relationships##affiliations" : {
"properties" : { "properties" : {
"data" : { "data" : {
"type" : "string" "type" : "string"
}, },
"links" : { "links" : {
"$ref" : "#/definitions/getPeople##data##relationships##affiliations##links" "$ref" : "#/definitions/getPerson##data##relationships##affiliations##links"
} }
} }
}, },
"getPeople##data##relationships##emailAddresses##data" : { "getPerson##data##relationships##emailAddresses##data" : {
"properties" : { "properties" : {
"id" : { "id" : {
"type" : "string" "type" : "string"
...@@ -141,27 +132,27 @@ ...@@ -141,27 +132,27 @@
} }
} }
}, },
"getPeople##data##relationships##emailAddresses##links" : { "getPerson##data##relationships##emailAddresses##links" : {
"properties" : { "properties" : {
"related" : { "related" : {
"type" : "string" "type" : "string"
} }
} }
}, },
"getPeople##data##relationships##emailAddresses" : { "getPerson##data##relationships##emailAddresses" : {
"properties" : { "properties" : {
"data" : { "data" : {
"type" : "array", "type" : "array",
"items" : { "items" : {
"$ref" : "#/definitions/getPeople##data##relationships##emailAddresses##data" "$ref" : "#/definitions/getPerson##data##relationships##emailAddresses##data"
} }
}, },
"links" : { "links" : {
"$ref" : "#/definitions/getPeople##data##relationships##emailAddresses##links" "$ref" : "#/definitions/getPerson##data##relationships##emailAddresses##links"
} }
} }
}, },
"getPeople##data##relationships##identifiers##data" : { "getPerson##data##relationships##identifiers##data" : {
"properties" : { "properties" : {
"id" : { "id" : {
"type" : "string" "type" : "string"
...@@ -171,27 +162,27 @@ ...@@ -171,27 +162,27 @@
} }
} }
}, },
"getPeople##data##relationships##identifiers##links" : { "getPerson##data##relationships##identifiers##links" : {
"properties" : { "properties" : {
"related" : { "related" : {
"type" : "string" "type" : "string"
} }
} }
}, },
"getPeople##data##relationships##identifiers" : { "getPerson##data##relationships##identifiers" : {
"properties" : { "properties" : {
"data" : { "data" : {
"type" : "array", "type" : "array",
"items" : { "items" : {
"$ref" : "#/definitions/getPeople##data##relationships##identifiers##data" "$ref" : "#/definitions/getPerson##data##relationships##identifiers##data"
} }
}, },
"links" : { "links" : {
"$ref" : "#/definitions/getPeople##data##relationships##identifiers##links" "$ref" : "#/definitions/getPerson##data##relationships##identifiers##links"
} }
} }
}, },
"getPeople##data##relationships##jobs##data" : { "getPerson##data##relationships##jobs##data" : {
"properties" : { "properties" : {
"id" : { "id" : {
"type" : "string" "type" : "string"
...@@ -201,27 +192,27 @@ ...@@ -201,27 +192,27 @@
} }
} }
}, },
"getPeople##data##relationships##jobs##links" : { "getPerson##data##relationships##jobs##links" : {
"properties" : { "properties" : {
"related" : { "related" : {
"type" : "string" "type" : "string"
} }
} }
}, },
"getPeople##data##relationships##jobs" : { "getPerson##data##relationships##jobs" : {
"properties" : { "properties" : {
"data" : { "data" : {
"type" : "array", "type" : "array",
"items" : { "items" : {
"$ref" : "#/definitions/getPeople##data##relationships##jobs##data" "$ref" : "#/definitions/getPerson##data##relationships##jobs##data"
} }
}, },
"links" : { "links" : {
"$ref" : "#/definitions/getPeople##data##relationships##jobs##links" "$ref" : "#/definitions/getPerson##data##relationships##jobs##links"
} }
} }
}, },
"getPeople##data##relationships##names##data" : { "getPerson##data##relationships##names##data" : {
"properties" : { "properties" : {
"id" : { "id" : {
"type" : "string" "type" : "string"
...@@ -231,44 +222,57 @@ ...@@ -231,44 +222,57 @@
} }
} }
}, },
"getPeople##data##relationships##names##links" : { "getPerson##data##relationships##names##links" : {
"properties" : { "properties" : {
"related" : { "related" : {
"type" : "string" "type" : "string"
} }
} }
}, },
"getPeople##data##relationships##names" : { "getPerson##data##relationships##names" : {
"properties" : { "properties" : {
"data" : { "data" : {
"type" : "array", "type" : "array",
"items" : { "items" : {
"$ref" : "#/definitions/getPeople##data##relationships##names##data" "$ref" : "#/definitions/getPerson##data##relationships##names##data"
} }
}, },
"links" : { "links" : {
"$ref" : "#/definitions/getPeople##data##relationships##names##links" "$ref" : "#/definitions/getPerson##data##relationships##names##links"
} }
} }
}, },
"getPeople##data##relationships##phoneNumbers##links" : { "getPerson##data##relationships##phoneNumbers##data" : {
"properties" : {
"id" : {
"type" : "string"
},
"type" : {
"type" : "string"
}
}
},
"getPerson##data##relationships##phoneNumbers##links" : {
"properties" : { "properties" : {
"related" : { "related" : {
"type" : "string" "type" : "string"
} }
} }
}, },
"getPeople##data##relationships##phoneNumbers" : { "getPerson##data##relationships##phoneNumbers" : {
"properties" : { "properties" : {
"data" : { "data" : {
"type" : "string" "type" : "array",
"items" : {
"$ref" : "#/definitions/getPerson##data##relationships##phoneNumbers##data"
}
}, },
"links" : { "links" : {
"$ref" : "#/definitions/getPeople##data##relationships##phoneNumbers##links" "$ref" : "#/definitions/getPerson##data##relationships##phoneNumbers##links"
} }
} }
}, },
"getPeople##data##relationships##wiscard##data" : { "getPerson##data##relationships##wiscard##data" : {
"properties" : { "properties" : {
"id" : { "id" : {
"type" : "string" "type" : "string"
...@@ -278,267 +282,87 @@ ...@@ -278,267 +282,87 @@
} }
} }
}, },
"getPeople##data##relationships##wiscard##links" : { "getPerson##data##relationships##wiscard##links" : {
"properties" : { "properties" : {
"related" : { "related" : {
"type" : "string" "type" : "string"
} }
} }
}, },
"getPeople##data##relationships##wiscard" : { "getPerson##data##relationships##wiscard" : {
"properties" : { "properties" : {
"data" : { "data" : {
"$ref" : "#/definitions/getPeople##data##relationships##wiscard##data" "$ref" : "#/definitions/getPerson##data##relationships##wiscard##data"
}, },
"links" : { "links" : {
"$ref" : "#/definitions/getPeople##data##relationships##wiscard##links" "$ref" : "#/definitions/getPerson##data##relationships##wiscard##links"
} }
} }
}, },
"getPeople##data##relationships" : { "getPerson##data##relationships" : {
"properties" : { "properties" : {
"addresses" : { "addresses" : {
"$ref" : "#/definitions/getPeople##data##relationships##addresses" "$ref" : "#/definitions/getPerson##data##relationships##addresses"
}, },
"affiliations" : { "affiliations" : {
"$ref" : "#/definitions/getPeople##data##relationships##affiliations" "$ref" : "#/definitions/getPerson##data##relationships##affiliations"
}, },
"emailAddresses" : { "emailAddresses" : {
"$ref" : "#/definitions/getPeople##data##relationships##emailAddresses" "$ref" : "#/definitions/getPerson##data##relationships##emailAddresses"
}, },
"identifiers" : { "identifiers" : {
"$ref" : "#/definitions/getPeople##data##relationships##identifiers" "$ref" : "#/definitions/getPerson##data##relationships##identifiers"
}, },
"jobs" : { "jobs" : {
"$ref" : "#/definitions/getPeople##data##relationships##jobs" "$ref" : "#/definitions/getPerson##data##relationships##jobs"
}, },
"names" : { "names" : {
"$ref" : "#/definitions/getPeople##data##relationships##names" "$ref" : "#/definitions/getPerson##data##relationships##names"
}, },
"phoneNumbers" : { "phoneNumbers" : {
"$ref" : "#/definitions/getPeople##data##relationships##phoneNumbers" "$ref" : "#/definitions/getPerson##data##relationships##phoneNumbers"
}, },
"wiscard" : { "wiscard" : {
"$ref" : "#/definitions/getPeople##data##relationships##wiscard" "$ref" : "#/definitions/getPerson##data##relationships##wiscard"
} }
} }
}, },
"getPeople##data" : { "getPerson##data" : {
"properties" : { "properties" : {
"attributes" : { "attributes" : {
"$ref" : "#/definitions/getPeople##data##attributes" "$ref" : "#/definitions/getPerson##data##attributes"
}, },
"id" : { "id" : {
"type" : "string" "type" : "string"
}, },
"links" : { "links" : {
"$ref" : "#/definitions/getPeople##data##links" "$ref" : "#/definitions/getPerson##data##links"
}, },
"meta" : { "meta" : {
"$ref" : "#/definitions/getPeople##data##meta" "$ref" : "#/definitions/getPerson##data##meta"
}, },
"relationships" : { "relationships" : {
"$ref" : "#/definitions/getPeople##data##relationships" "$ref" : "#/definitions/getPerson##data##relationships"
}, },
"type" : { "type" : {
"type" : "string" "type" : "string"
} }
} }
}, },
"getPeople##included##attributes" : { "getPerson##links" : {
"properties" : {
"action" : {
"type" : "string"
},
"actionReason" : {
"type" : "string"
},
"beginDate" : {
"type" : "string"
},
"businessTitle" : {
"type" : "string"
},
"costCenterId" : {
"type" : "string"
},
"costCenterName" : {
"type" : "string"
},
"current" : {
"type" : "boolean"
},
"departmentUnit" : {
"type" : "string"
},
"division" : {
"type" : "string"
},
"divisionCode" : {
"type" : "string"
},
"effectiveDate" : {
"type" : "string"
},
"employeeCategory" : {
"type" : "string"
},
"employeeCategoryCode" : {
"type" : "string"
},
"endDate" : {
"type" : "string"
},
"fullTimeEquivalent" : {
"type" : "string"
},
"institution" : {
"type" : "string"
},
"jobCode" : {
"type" : "string"
},
"locationId" : {
"type" : "string"
},
"managedSupervisoryOrganizationIds" : {
"type" : "string"
},
"payBasis" : {
"type" : "string"
},
"position" : {
"type" : "string"
},
"primary" : {
"type" : "boolean"
},
"relatedSupervisoryOrganizationIds" : {
"type" : "string"
},
"source" : {
"type" : "string"
},
"supervisoryOrganizationCode" : {
"type" : "string"
},
"supervisoryOrganizationId" : {
"type" : "string"
},
"supervisoryOrganizationName" : {
"type" : "string"
},
"title" : {
"type" : "string"
},
"workspaceId" : {
"type" : "string"
}
}
},
"getPeople##included##relationships##person##data" : {
"properties" : {
"id" : {
"type" : "string"
},
"type" : {
"type" : "string"
}
}
},
"getPeople##included##relationships##person##links" : {
"properties" : {
"related" : {
"type" : "string"
}
}
},
"getPeople##included##relationships##person" : {
"properties" : {
"data" : {
"$ref" : "#/definitions/getPeople##included##relationships##person##data"
},
"links" : {
"$ref" : "#/definitions/getPeople##included##relationships##person##links"
}
}
},
"getPeople##included##relationships##supervisor##data" : {
"properties" : {
"id" : {
"type" : "string"
},
"type" : {
"type" : "string"
}
}
},
"getPeople##included##relationships##supervisor##links" : {
"properties" : {
"related" : {
"type" : "string"
}
}
},
"getPeople##included##relationships##supervisor" : {
"properties" : {
"data" : {
"$ref" : "#/definitions/getPeople##included##relationships##supervisor##data"
},
"links" : {
"$ref" : "#/definitions/getPeople##included##relationships##supervisor##links"
}
}
},
"getPeople##included##relationships" : {
"properties" : {
"person" : {
"$ref" : "#/definitions/getPeople##included##relationships##person"
},
"supervisor" : {
"$ref" : "#/definitions/getPeople##included##relationships##supervisor"
}
}
},
"getPeople##included" : {
"properties" : {
"attributes" : {
"$ref" : "#/definitions/getPeople##included##attributes"
},
"id" : {
"type" : "string"
},
"relationships" : {
"$ref" : "#/definitions/getPeople##included##relationships"
},
"type" : {
"type" : "string"
}
}
},
"getPeople##links" : {
"properties" : { "properties" : {
"self" : { "self" : {
"type" : "string" "type" : "string"
} }
} }
}, },
"getPeople" : { "getPerson" : {
"properties" : { "properties" : {
"data" : { "data" : {
"type" : "array", "$ref" : "#/definitions/getPerson##data"
"items" : {
"$ref" : "#/definitions/getPeople##data"
}
},
"included" : {
"type" : "array",
"items" : {
"$ref" : "#/definitions/getPeople##included"
}
}, },
"links" : { "links" : {
"$ref" : "#/definitions/getPeople##links" "$ref" : "#/definitions/getPerson##links"
} }
} }
} }
......
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