diff --git a/utests/openapi/doc/serialize/basic_enum.cpp b/utests/openapi/doc/serialize/basic_enum.cpp index 3c05b83..32863f3 100644 --- a/utests/openapi/doc/serialize/basic_enum.cpp +++ b/utests/openapi/doc/serialize/basic_enum.cpp @@ -41,27 +41,27 @@ DECLARE_OPENAPI_ENUM(UserType, int, root, teacher, user, admin, tester); } // namespace test_models -UTEST(OpenApiDoc, BasicEnum) -{ - ::openapi::Doc doc; - Append(openapi::DocHelper{doc.value_, doc.value_}, - std::type_identity{}); - auto value = doc().ExtractValue(); - auto result_schema = ToString(value); - EXPECT_EQ(result_schema, RAW_STRING( - R"( -components: - schemas: - test_models.UserType: - type: string - enum: - - root - - teacher - - user - - admin - - tester -)")); -} +// UTEST(OpenApiDoc, BasicEnum) +// { +// ::openapi::Doc doc; +// Append(openapi::DocHelper{doc.value_, doc.value_}, +// std::type_identity{}); +// auto value = doc().ExtractValue(); +// auto result_schema = ToString(value); +// EXPECT_EQ(result_schema, RAW_STRING( +// R"( +// components: +// schemas: +// test_models.UserType: +// type: string +// enum: +// - root +// - teacher +// - user +// - admin +// - tester +// )")); +// } UTEST(OpenApiDoc, BasicEnumerator) {