(s *openapi3.Schema)
| 380 | } |
| 381 | |
| 382 | func allowsNull(s *openapi3.Schema) bool { |
| 383 | return s.Nullable || s.Type.Includes("null") |
| 384 | } |
| 385 | |
| 386 | func isObjectSchema(s *openapi3.Schema) bool { |
| 387 | return s.Type.Is("object") || (len(s.Type.Slice()) == 0 && len(s.Properties) > 0) |