Skip to content

Commit

Permalink
Update OpenAPI docs with 2023 change request routes
Browse files Browse the repository at this point in the history
  • Loading branch information
courtneymyers committed Apr 15, 2024
1 parent 25ca73a commit 9aa8b8b
Showing 1 changed file with 78 additions and 4 deletions.
82 changes: 78 additions & 4 deletions docs/csb-openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -673,10 +673,7 @@
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object"
}
"type": "object"
}
}
}
Expand Down Expand Up @@ -818,6 +815,83 @@
}
}
},
"/api/formio/2023/changes": {
"get": {
"summary": "Get user's 2023 Change Request form submissions from Formio.",
"parameters": [],
"responses": {
"200": {
"description": "An array of 2023 Change Request form submissions.",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object"
}
}
}
}
}
}
}
},
"/api/formio/2023/change": {
"get": {
"summary": "Get the 2023 Change Request form's schema from Formio.",
"parameters": [],
"responses": {
"200": {
"description": "The 2023 Change Request form's schema.",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"post": {
"summary": "Post a new 2023 Change Request form submission to Formio.",
"parameters": [],
"responses": {
"200": {
"description": "The newly created 2023 Change Request form submission.",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
}
},
"/api/formio/2023/change/{mongoId}": {
"get": {
"summary": "Get an existing 2023 Change Request form's schema and submission data from Formio.",
"parameters": [
{
"$ref": "#/components/parameters/mongoId"
}
],
"responses": {
"200": {
"description": "The 2023 Change Request form's schema, form submission, and user access status.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/FormioSchemaAndSubmission"
}
}
}
}
}
}
},
"/api/help/formio/submission/{rebateYear}/{formType}/{id}": {
"get": {
"summary": "Get an existing form's submission data from Formio.",
Expand Down

0 comments on commit 9aa8b8b

Please sign in to comment.