Closed acuarica closed 1 month ago
The default example provided in the Swagger UI for the /verify/create2 endpoint does not seem to have the proper schema. The field value should not appear. This is the default example provided
/verify/create2
value
{ "clientToken": "", "deployerAddress": "0x7dBA08Bdc233B28e2c99723c402Fc8F4e35AB55B", "salt": "0x00", "abiEncodedConstructorArguments": "00000000000000000000000006595656b93ce14834f0d22b7bbda4382d5ab51000000000000000000000000000000000000000000000000d8d726b7177a8000", "files": { "value": { "metadata.json": "{...}", "SimpleStorage.sol": "// file" } }, "create2Address": "0x07880D44b0f7b75464ad18fc2b980049c40A8bc3" }
The fields metadata.json and SimpleStorage.sol need to direct descendant of the files object, effectively removing the value field.
metadata.json
SimpleStorage.sol
files
This is the response from the Swagger UI
The default example provided in the Swagger UI for the
/verify/create2
endpoint does not seem to have the proper schema. The fieldvalue
should not appear. This is the default example providedThe fields
metadata.json
andSimpleStorage.sol
need to direct descendant of thefiles
object, effectively removing thevalue
field.This is the response from the Swagger UI