Skip to content

Commit

Permalink
Do not generate random values from CM schema
Browse files Browse the repository at this point in the history
This leads to issues with Open API documentation where the uuidv4 function returns unwanted values in the spec. If not provided, the Storage implementation generates random values instead.
  • Loading branch information
nickpeihl committed Nov 13, 2024
1 parent 3b64884 commit 0f3bde4
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 123 deletions.
60 changes: 5 additions & 55 deletions oas_docs/bundle.json
Original file line number Diff line number Diff line change
Expand Up @@ -5915,12 +5915,11 @@
"type": "object"
},
"grow": {
"default": true,
"default": false,
"description": "Expand width of the control panel to fit available space.",
"type": "boolean"
},
"id": {
"default": "32b28ffe-4df3-4257-a976-71ff7ba811b2",
"description": "The unique ID of the control.",
"type": "string"
},
Expand Down Expand Up @@ -6229,7 +6228,6 @@
"type": "number"
},
"i": {
"default": "199505bf-cee4-4ba4-bf12-8dfff6d57d2e",
"description": "The unique identifier of the panel",
"type": "string"
},
Expand Down Expand Up @@ -6290,14 +6288,6 @@
"type": "object"
},
"panelIndex": {
"default": {
"ref": {
"path": [
"gridData",
"i"
]
}
},
"description": "The unique ID of the panel.",
"type": "string"
},
Expand Down Expand Up @@ -6589,12 +6579,11 @@
"type": "object"
},
"grow": {
"default": true,
"default": false,
"description": "Expand width of the control panel to fit available space.",
"type": "boolean"
},
"id": {
"default": "32b28ffe-4df3-4257-a976-71ff7ba811b2",
"description": "The unique ID of the control.",
"type": "string"
},
Expand Down Expand Up @@ -6903,7 +6892,6 @@
"type": "number"
},
"i": {
"default": "199505bf-cee4-4ba4-bf12-8dfff6d57d2e",
"description": "The unique identifier of the panel",
"type": "string"
},
Expand Down Expand Up @@ -6964,14 +6952,6 @@
"type": "object"
},
"panelIndex": {
"default": {
"ref": {
"path": [
"gridData",
"i"
]
}
},
"description": "The unique ID of the panel.",
"type": "string"
},
Expand Down Expand Up @@ -7137,12 +7117,11 @@
"type": "object"
},
"grow": {
"default": true,
"default": false,
"description": "Expand width of the control panel to fit available space.",
"type": "boolean"
},
"id": {
"default": "32b28ffe-4df3-4257-a976-71ff7ba811b2",
"description": "The unique ID of the control.",
"type": "string"
},
Expand Down Expand Up @@ -7451,7 +7430,6 @@
"type": "number"
},
"i": {
"default": "199505bf-cee4-4ba4-bf12-8dfff6d57d2e",
"description": "The unique identifier of the panel",
"type": "string"
},
Expand Down Expand Up @@ -7512,14 +7490,6 @@
"type": "object"
},
"panelIndex": {
"default": {
"ref": {
"path": [
"gridData",
"i"
]
}
},
"description": "The unique ID of the panel.",
"type": "string"
},
Expand Down Expand Up @@ -7783,12 +7753,11 @@
"type": "object"
},
"grow": {
"default": true,
"default": false,
"description": "Expand width of the control panel to fit available space.",
"type": "boolean"
},
"id": {
"default": "32b28ffe-4df3-4257-a976-71ff7ba811b2",
"description": "The unique ID of the control.",
"type": "string"
},
Expand Down Expand Up @@ -8097,7 +8066,6 @@
"type": "number"
},
"i": {
"default": "199505bf-cee4-4ba4-bf12-8dfff6d57d2e",
"description": "The unique identifier of the panel",
"type": "string"
},
Expand Down Expand Up @@ -8158,14 +8126,6 @@
"type": "object"
},
"panelIndex": {
"default": {
"ref": {
"path": [
"gridData",
"i"
]
}
},
"description": "The unique ID of the panel.",
"type": "string"
},
Expand Down Expand Up @@ -8325,12 +8285,11 @@
"type": "object"
},
"grow": {
"default": true,
"default": false,
"description": "Expand width of the control panel to fit available space.",
"type": "boolean"
},
"id": {
"default": "32b28ffe-4df3-4257-a976-71ff7ba811b2",
"description": "The unique ID of the control.",
"type": "string"
},
Expand Down Expand Up @@ -8639,7 +8598,6 @@
"type": "number"
},
"i": {
"default": "199505bf-cee4-4ba4-bf12-8dfff6d57d2e",
"description": "The unique identifier of the panel",
"type": "string"
},
Expand Down Expand Up @@ -8700,14 +8658,6 @@
"type": "object"
},
"panelIndex": {
"default": {
"ref": {
"path": [
"gridData",
"i"
]
}
},
"description": "The unique ID of the panel.",
"type": "string"
},
Expand Down
60 changes: 5 additions & 55 deletions oas_docs/bundle.serverless.json
Original file line number Diff line number Diff line change
Expand Up @@ -5915,12 +5915,11 @@
"type": "object"
},
"grow": {
"default": true,
"default": false,
"description": "Expand width of the control panel to fit available space.",
"type": "boolean"
},
"id": {
"default": "edc483da-2dcf-4469-8d36-c99ca8f699a7",
"description": "The unique ID of the control.",
"type": "string"
},
Expand Down Expand Up @@ -6229,7 +6228,6 @@
"type": "number"
},
"i": {
"default": "49de787f-528f-47bd-a3f5-616351ccbc43",
"description": "The unique identifier of the panel",
"type": "string"
},
Expand Down Expand Up @@ -6290,14 +6288,6 @@
"type": "object"
},
"panelIndex": {
"default": {
"ref": {
"path": [
"gridData",
"i"
]
}
},
"description": "The unique ID of the panel.",
"type": "string"
},
Expand Down Expand Up @@ -6589,12 +6579,11 @@
"type": "object"
},
"grow": {
"default": true,
"default": false,
"description": "Expand width of the control panel to fit available space.",
"type": "boolean"
},
"id": {
"default": "edc483da-2dcf-4469-8d36-c99ca8f699a7",
"description": "The unique ID of the control.",
"type": "string"
},
Expand Down Expand Up @@ -6903,7 +6892,6 @@
"type": "number"
},
"i": {
"default": "49de787f-528f-47bd-a3f5-616351ccbc43",
"description": "The unique identifier of the panel",
"type": "string"
},
Expand Down Expand Up @@ -6964,14 +6952,6 @@
"type": "object"
},
"panelIndex": {
"default": {
"ref": {
"path": [
"gridData",
"i"
]
}
},
"description": "The unique ID of the panel.",
"type": "string"
},
Expand Down Expand Up @@ -7137,12 +7117,11 @@
"type": "object"
},
"grow": {
"default": true,
"default": false,
"description": "Expand width of the control panel to fit available space.",
"type": "boolean"
},
"id": {
"default": "edc483da-2dcf-4469-8d36-c99ca8f699a7",
"description": "The unique ID of the control.",
"type": "string"
},
Expand Down Expand Up @@ -7451,7 +7430,6 @@
"type": "number"
},
"i": {
"default": "49de787f-528f-47bd-a3f5-616351ccbc43",
"description": "The unique identifier of the panel",
"type": "string"
},
Expand Down Expand Up @@ -7512,14 +7490,6 @@
"type": "object"
},
"panelIndex": {
"default": {
"ref": {
"path": [
"gridData",
"i"
]
}
},
"description": "The unique ID of the panel.",
"type": "string"
},
Expand Down Expand Up @@ -7783,12 +7753,11 @@
"type": "object"
},
"grow": {
"default": true,
"default": false,
"description": "Expand width of the control panel to fit available space.",
"type": "boolean"
},
"id": {
"default": "edc483da-2dcf-4469-8d36-c99ca8f699a7",
"description": "The unique ID of the control.",
"type": "string"
},
Expand Down Expand Up @@ -8097,7 +8066,6 @@
"type": "number"
},
"i": {
"default": "49de787f-528f-47bd-a3f5-616351ccbc43",
"description": "The unique identifier of the panel",
"type": "string"
},
Expand Down Expand Up @@ -8158,14 +8126,6 @@
"type": "object"
},
"panelIndex": {
"default": {
"ref": {
"path": [
"gridData",
"i"
]
}
},
"description": "The unique ID of the panel.",
"type": "string"
},
Expand Down Expand Up @@ -8325,12 +8285,11 @@
"type": "object"
},
"grow": {
"default": true,
"default": false,
"description": "Expand width of the control panel to fit available space.",
"type": "boolean"
},
"id": {
"default": "edc483da-2dcf-4469-8d36-c99ca8f699a7",
"description": "The unique ID of the control.",
"type": "string"
},
Expand Down Expand Up @@ -8639,7 +8598,6 @@
"type": "number"
},
"i": {
"default": "49de787f-528f-47bd-a3f5-616351ccbc43",
"description": "The unique identifier of the panel",
"type": "string"
},
Expand Down Expand Up @@ -8700,14 +8658,6 @@
"type": "object"
},
"panelIndex": {
"default": {
"ref": {
"path": [
"gridData",
"i"
]
}
},
"description": "The unique ID of the panel.",
"type": "string"
},
Expand Down
Loading

0 comments on commit 0f3bde4

Please sign in to comment.