(schema: JSONSchema7, ctx: GoCodegenCtx)
| 1244 | } |
| 1245 | |
| 1246 | function goSchemaNeedsJSONMatch(schema: JSONSchema7, ctx: GoCodegenCtx): boolean { |
| 1247 | if (goObjectSchemaForMatch(schema, ctx)) return true; |
| 1248 | return goStringEnumValues(schema, ctx) !== undefined; |
| 1249 | } |
| 1250 | |
| 1251 | function pushGoJSONStringMatchLines( |
| 1252 | lines: string[], |
no test coverage detected
searching dependent graphs…