Skip to content

Commit

Permalink
Convert all json properties to support string too
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong committed Jun 27, 2024
1 parent d3e9358 commit 3d10651
Show file tree
Hide file tree
Showing 869 changed files with 14,341 additions and 13,399 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,18 @@ repos:
hooks:
- id: isort
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "v0.4.4"
rev: "v0.4.10"
hooks:
- id: ruff
- repo: https://github.com/PyCQA/bandit
rev: "1.7.8"
rev: "1.7.9"
hooks:
- id: bandit
additional_dependencies:
- "bandit[toml]"
args: ["-c", "pyproject.toml"]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.10.0"
rev: "v1.10.1"
hooks:
- id: mypy
additional_dependencies:
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"b658285000afc83f21ab25b390d22e7f\"", "url": "https://schema.cloudformation.eu-south-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"9afc60ca795ea9f3bd3399d820201ffb\"", "url": "https://schema.cloudformation.eu-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"58cb8abae39cb16173d1dcfb5774b930\"", "url": "https://schema.cloudformation.us-gov-east-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"b026f401ac1698c34da9505b2687c666\"", "url": "https://schema.cloudformation.us-gov-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"0834cac6bee64373374bfedf13a291bc\"", "url": "https://schema.cloudformation.us-gov-west-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"cab7c18393919e17ef44d9fca8c62008\"", "url": "https://schema.cloudformation.us-gov-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"834f790a8008964e76e447e2a8432aea\"", "url": "https://schema.cloudformation.me-central-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"9cae6b551468d4777291165964ac439d\"", "url": "https://schema.cloudformation.me-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"9d74a5b82b6011e69a3f13ef657ffb01\"", "url": "https://schema.cloudformation.eu-west-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"ff2d86966614e2da2818a06627b839b4\"", "url": "https://schema.cloudformation.eu-west-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"081ab5175646b6357afd33378944d98a\"", "url": "https://schema.cloudformation.af-south-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"a210789fcdc1212f1d633d75df1a5b69\"", "url": "https://schema.cloudformation.af-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"87dbe8d72b114f79fbc608c98806364a\"", "url": "https://schema.cloudformation.ap-south-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"66934d611a2eb3f5c8878ea30df0351d\"", "url": "https://schema.cloudformation.ap-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"fc2de0a27081580b398d58c00348446e\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"5292e9a834f0c72f512ff815414232f0\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"20bd1097ea12df81de72376235c6670e\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"cf0cf4bff0da3e45998eaea296e3ca27\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"8ad868ec672f842b68b05600b5a5d103\"", "url": "https://schema.cloudformation.eu-north-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"d34ccc2ac672aba8821b3afc1cc7a6bc\"", "url": "https://schema.cloudformation.eu-north-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"fa0b097f427f0f923400285b256dfafb\"", "url": "https://schema.cloudformation.eu-south-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"eb993b3a9009cdf11b131cb1ad6c9d7d\"", "url": "https://schema.cloudformation.eu-south-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"55e291fbd1d194744195d829488aaf0b\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"330741cbbbacf1fc399fd4b5c32210b5\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"241e75fbdd254447d51e3e9e7991d11f\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"458423c371125738648c161b14c0c8e9\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"a48bf3fc3f1917a864d583600f4bf38d\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"8bedc60ccb57f9f836f1f576c107b12d\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"9d35728649cd2bfeac7fbcdd355cab1b\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"955fdade794e290a83d37778bf3c44e6\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"}
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[
{
"op": "test",
"path": "/definitions/Overrides/properties/Manifest",
"value": {
"type": "object"
}
},
{
"op": "replace",
"path": "/definitions/Overrides/properties/Manifest",
"value": {
"format": "json",
"type": [
"object",
"string"
]
}
}
]
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
[
{
"op": "test",
"path": "/properties/Schema",
"value": {
"type": "object"
}
},
{
"op": "replace",
"path": "/properties/Schema",
"value": {
"type": [
"object",
"string"
]
}
}
{
"op": "test",
"path": "/properties/Schema",
"value": {
"type": "object"
}
},
{
"op": "replace",
"path": "/properties/Schema",
"value": {
"format": "json",
"type": [
"object",
"string"
]
}
}
]
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
[
{
"op": "test",
"path": "/properties/Body",
"value": {
"type": "object"
}
},
{
"op": "replace",
"path": "/properties/Body",
"value": {
"type": [
"object",
"string"
]
}
}
{
"op": "test",
"path": "/properties/Body",
"value": {
"type": "object"
}
},
{
"op": "replace",
"path": "/properties/Body",
"value": {
"format": "json",
"type": [
"object",
"string"
]
}
}
]
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
[
{
"op": "test",
"path": "/properties/Policy",
"value": {
"type": "object"
}
},
{
"op": "replace",
"path": "/properties/Policy",
"value": {
"type": [
"object",
"string"
]
}
}
{
"op": "test",
"path": "/properties/Policy",
"value": {
"type": "object"
}
},
{
"op": "replace",
"path": "/properties/Policy",
"value": {
"format": "json",
"type": [
"object",
"string"
]
}
}
]
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[
{
"op": "test",
"path": "/properties/Body",
"value": {
"type": "object"
}
},
{
"op": "replace",
"path": "/properties/Body",
"value": {
"format": "json",
"type": [
"object",
"string"
]
}
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[
{
"op": "test",
"path": "/properties/Tags",
"value": {
"type": "object"
}
},
{
"op": "replace",
"path": "/properties/Tags",
"value": {
"additionalProperties": false,
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[
{
"op": "test",
"path": "/definitions/StageOverrides/properties/RouteSettings",
"value": {
"type": "object"
}
},
{
"op": "replace",
"path": "/definitions/StageOverrides/properties/RouteSettings",
"value": {
"format": "json",
"type": [
"object",
"string"
]
}
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[
{
"op": "test",
"path": "/definitions/StageOverrides/properties/StageVariables",
"value": {
"type": "object"
}
},
{
"op": "replace",
"path": "/definitions/StageOverrides/properties/StageVariables",
"value": {
"format": "json",
"type": [
"object",
"string"
]
}
}
]
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[
{
"op": "test",
"path": "/properties/Tags",
"value": {
"type": "object"
}
},
{
"op": "replace",
"path": "/properties/Tags",
"value": {
"additionalProperties": false,
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
}
]
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[
{
"op": "test",
"path": "/properties/RequestParameters",
"value": {
"type": "object"
}
},
{
"op": "replace",
"path": "/properties/RequestParameters",
"value": {
"format": "json",
"type": [
"object",
"string"
]
}
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[
{
"op": "test",
"path": "/properties/RequestTemplates",
"value": {
"type": "object"
}
},
{
"op": "replace",
"path": "/properties/RequestTemplates",
"value": {
"format": "json",
"type": [
"object",
"string"
]
}
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[
{
"op": "test",
"path": "/properties/ResponseParameters",
"value": {
"type": "object"
}
},
{
"op": "replace",
"path": "/properties/ResponseParameters",
"value": {
"format": "json",
"type": [
"object",
"string"
]
}
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[
{
"op": "test",
"path": "/properties/ResponseParameters",
"value": {
"type": "object"
}
},
{
"op": "replace",
"path": "/properties/ResponseParameters",
"value": {
"format": "json",
"type": [
"object",
"string"
]
}
}
]
Loading

0 comments on commit 3d10651

Please sign in to comment.