(t *testing.T)
| 8 | ) |
| 9 | |
| 10 | func TestSchemaToMap_Nil(t *testing.T) { |
| 11 | t.Parallel() |
| 12 | m, err := SchemaToMap(nil) |
| 13 | require.NoError(t, err) |
| 14 | |
| 15 | assert.Equal(t, map[string]any{ |
| 16 | "type": "object", |
| 17 | "properties": map[string]any{}, |
| 18 | }, m) |
| 19 | } |
| 20 | |
| 21 | func TestSchemaToMap_MissingType(t *testing.T) { |
| 22 | t.Parallel() |
nothing calls this directly
no test coverage detected