TestSchemaForMessage_EmptyRequest — MetaRequest has no fields.
(t *testing.T)
| 37 | |
| 38 | // TestSchemaForMessage_EmptyRequest — MetaRequest has no fields. |
| 39 | func TestSchemaForMessage_EmptyRequest(t *testing.T) { |
| 40 | md := (&authorizerv1.MetaRequest{}).ProtoReflect().Descriptor() |
| 41 | s := schemaForMessage(md) |
| 42 | assert.Equal(t, "object", s.Type) |
| 43 | assert.Empty(t, s.Properties) |
| 44 | } |
| 45 | |
| 46 | // TestSchemaForMessage_CycleSafe — google.protobuf.Value references itself |
| 47 | // via repeated Value (ListValue.values). Before the cycle-guard fix, exposing |
nothing calls this directly
no test coverage detected