Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
aomegax committed Nov 21, 2024
1 parent 4945d09 commit 312362a
Show file tree
Hide file tree
Showing 11 changed files with 193 additions and 152 deletions.
28 changes: 14 additions & 14 deletions openapi/openapi_export.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,6 @@
"summary" : "Get xlsx of full cache",
"operationId" : "xls",
"responses" : {
"200" : {
"description" : "OK",
"content" : {
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" : { }
}
},
"403" : {
"description" : "Forbidden"
},
"429" : {
"description" : "Too many requests"
},
"500" : {
"description" : "Service unavailable",
"content" : {
Expand All @@ -48,6 +36,18 @@
}
}
},
"401" : {
"description" : "Unauthorized"
},
"403" : {
"description" : "Forbidden"
},
"200" : {
"description" : "OK",
"content" : {
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" : { }
}
},
"400" : {
"description" : "Bad Request",
"content" : {
Expand All @@ -58,8 +58,8 @@
}
}
},
"401" : {
"description" : "Unauthorized"
"429" : {
"description" : "Too many requests"
}
},
"security" : [ {
Expand Down
74 changes: 37 additions & 37 deletions openapi/openapi_fdrv1.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,6 @@
}
}
},
"403" : {
"description" : "Forbidden"
},
"429" : {
"description" : "Too many requests"
},
"500" : {
"description" : "Service unavailable",
"content" : {
Expand All @@ -62,6 +56,12 @@
}
}
},
"401" : {
"description" : "Unauthorized"
},
"403" : {
"description" : "Forbidden"
},
"400" : {
"description" : "Bad Request",
"content" : {
Expand All @@ -72,8 +72,8 @@
}
}
},
"401" : {
"description" : "Unauthorized"
"429" : {
"description" : "Too many requests"
}
},
"security" : [ {
Expand All @@ -87,18 +87,6 @@
"summary" : "Get xlsx of last v1 {stakeholder} cache version",
"operationId" : "xls",
"responses" : {
"200" : {
"description" : "OK",
"content" : {
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" : { }
}
},
"403" : {
"description" : "Forbidden"
},
"429" : {
"description" : "Too many requests"
},
"500" : {
"description" : "Service unavailable",
"content" : {
Expand All @@ -109,6 +97,18 @@
}
}
},
"401" : {
"description" : "Unauthorized"
},
"403" : {
"description" : "Forbidden"
},
"200" : {
"description" : "OK",
"content" : {
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" : { }
}
},
"400" : {
"description" : "Bad Request",
"content" : {
Expand All @@ -119,8 +119,8 @@
}
}
},
"401" : {
"description" : "Unauthorized"
"429" : {
"description" : "Too many requests"
}
},
"security" : [ {
Expand All @@ -134,15 +134,25 @@
"summary" : "Get last v1 {stakeholder} cache version",
"operationId" : "idV1",
"responses" : {
"500" : {
"description" : "Service unavailable",
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ProblemJson"
}
}
}
},
"401" : {
"description" : "Unauthorized"
},
"403" : {
"description" : "Forbidden"
},
"404" : {
"description" : "Not Found"
},
"429" : {
"description" : "Too many requests"
},
"200" : {
"description" : "OK",
"content" : {
Expand All @@ -153,16 +163,6 @@
}
}
},
"500" : {
"description" : "Service unavailable",
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ProblemJson"
}
}
}
},
"400" : {
"description" : "Bad Request",
"content" : {
Expand All @@ -173,8 +173,8 @@
}
}
},
"401" : {
"description" : "Unauthorized"
"429" : {
"description" : "Too many requests"
}
},
"security" : [ {
Expand Down
74 changes: 37 additions & 37 deletions openapi/openapi_nodev1.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,6 @@
}
}
},
"403" : {
"description" : "Forbidden"
},
"429" : {
"description" : "Too many requests"
},
"500" : {
"description" : "Service unavailable",
"content" : {
Expand All @@ -62,6 +56,12 @@
}
}
},
"401" : {
"description" : "Unauthorized"
},
"403" : {
"description" : "Forbidden"
},
"400" : {
"description" : "Bad Request",
"content" : {
Expand All @@ -72,8 +72,8 @@
}
}
},
"401" : {
"description" : "Unauthorized"
"429" : {
"description" : "Too many requests"
}
},
"security" : [ {
Expand All @@ -87,18 +87,6 @@
"summary" : "Get xlsx of last v1 {stakeholder} cache version",
"operationId" : "xls",
"responses" : {
"200" : {
"description" : "OK",
"content" : {
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" : { }
}
},
"403" : {
"description" : "Forbidden"
},
"429" : {
"description" : "Too many requests"
},
"500" : {
"description" : "Service unavailable",
"content" : {
Expand All @@ -109,6 +97,18 @@
}
}
},
"401" : {
"description" : "Unauthorized"
},
"403" : {
"description" : "Forbidden"
},
"200" : {
"description" : "OK",
"content" : {
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" : { }
}
},
"400" : {
"description" : "Bad Request",
"content" : {
Expand All @@ -119,8 +119,8 @@
}
}
},
"401" : {
"description" : "Unauthorized"
"429" : {
"description" : "Too many requests"
}
},
"security" : [ {
Expand All @@ -134,15 +134,25 @@
"summary" : "Get last v1 {stakeholder} cache version",
"operationId" : "idV1",
"responses" : {
"500" : {
"description" : "Service unavailable",
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ProblemJson"
}
}
}
},
"401" : {
"description" : "Unauthorized"
},
"403" : {
"description" : "Forbidden"
},
"404" : {
"description" : "Not Found"
},
"429" : {
"description" : "Too many requests"
},
"200" : {
"description" : "OK",
"content" : {
Expand All @@ -153,16 +163,6 @@
}
}
},
"500" : {
"description" : "Service unavailable",
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ProblemJson"
}
}
}
},
"400" : {
"description" : "Bad Request",
"content" : {
Expand All @@ -173,8 +173,8 @@
}
}
},
"401" : {
"description" : "Unauthorized"
"429" : {
"description" : "Too many requests"
}
},
"security" : [ {
Expand Down
Loading

0 comments on commit 312362a

Please sign in to comment.