Skip to content

Commit 2b362bc

Browse files
author
MatthewColvin
committed
Remove old Schema from RokuHttp since we are very close to getting the constexpr builder working.
1 parent 7dda581 commit 2b362bc

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

Platformio/lib/Device/Custom/RokuHttp.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,6 @@ static constexpr std::string_view BuiltRokuSchema(RokuSchemaArray.data(), RokuSc
2626

2727
static constexpr auto sSize = RokuSchemaBuilder.SchemaSize;
2828

29-
constexpr auto const RokuSchemaArrayy = OMOTE::JSON::ObjectSchema()
30-
.Require("thisIsATestKey", "string")
31-
.Require(RokuHttp::NameKey, "string")
32-
.Build();
33-
34-
static constexpr inline auto &RokuSchema = R"({
35-
"type": "object",
36-
"required": ["name", "ip_address"],
37-
"properties": {
38-
"name": { "type": "string" },
39-
"ipaddress": { "type": "string" },
40-
}
41-
})";
42-
4329
auto RokuConfigSchemaRegistered = ActiveDeviceConfig::ConfigJsonValidator::Register(DeviceId::Roku, BuiltRokuSchema);
4430

4531
auto RokuCreationRegistered = DeviceFactory::RegisterDevice(

0 commit comments

Comments
 (0)