(s *openapi3.Schema)
| 384 | } |
| 385 | |
| 386 | func isObjectSchema(s *openapi3.Schema) bool { |
| 387 | return s.Type.Is("object") || (len(s.Type.Slice()) == 0 && len(s.Properties) > 0) |
| 388 | } |
| 389 | |
| 390 | // typeMatches reports whether a decoded JSON value has one of a schema's types. |
| 391 | func typeMatches(s *openapi3.Schema, v any) bool { |
no outgoing calls
no test coverage detected