pkg/validation/validate/type.go (7 lines): - line 38: // TODO: this switch really is some sort of reverse lookup for formats. It should be provided by strfmt. - line 84: // TODO: missing binary (io.ReadCloser) - line 85: // TODO: missing json.Number - line 137: if len(t.Type) > 0 && !t.Type.Contains(nullType) && !t.Nullable { // TODO: if a property is not required it also passes this - line 153: // TODO: check unsigned ints - line 154: // TODO: check json.Number (see schema.go) - line 161: // TODO: test case pkg/validation/validate/object_validator.go (5 lines): - line 45: // TODO: this should also work for structs - line 55: // TODO: guard against nil data - line 104: // TODO: this is dead code since regularProperty=false here - line 140: // TODO: it looks like we have done that twice in many cases - line 155: // TODO: succeededOnce is not used anywhere pkg/validation/validate/values.go (3 lines): - line 247: // TODO: Normally, a JSON MAX_SAFE_INTEGER check would ensure conversion remains loss-free - line 277: // TODO: Normally, a JSON MAX_SAFE_INTEGER check would ensure conversion remains loss-free - line 307: // TODO: Normally, a JSON MAX_SAFE_INTEGER check would ensure conversion remains loss-free pkg/validation/validate/result.go (3 lines): - line 35: // TODO: keep path of key originating the error - line 123: // TODO: this one is going to disapear... - line 201: // TODO: reporting / pretty print with path ordered and indented pkg/generators/openapi.go (2 lines): - line 49: // TODO: Remove patch struct tag validation because they we are now consuming OpenAPI on server. - line 505: // TODO: Remove patch struct tag validation because they we are now consuming OpenAPI on server. pkg/builder3/openapi.go (2 lines): - line 105: // TODO: Default response if needed. Common Response config - line 357: /* TODO: add support for the cookie param */ pkg/validation/validate/schema_messages.go (2 lines): - line 25: // TODO: should move to package go-openapi/errors - line 42: // TODO: punctuation in message pkg/validation/validate/validator.go (2 lines): - line 123: // TODO: consider replacing boundary check errors by simple warnings. - line 125: // TODO: default boundaries with MAX_SAFE_INTEGER are not checked (specific to json.Number?) pkg/generators/rules/names_match.go (1 line): - line 116: // TODO: Use an off-the-shelf CamelCase solution instead of implementing this logic. The following existing pkg/validation/strfmt/duration.go (1 line): - line 125: // TODO: case []byte: // ? pkg/validation/strfmt/time.go (1 line): - line 119: // TODO: case int64: and case float64: ? pkg/validation/validate/helpers.go (1 line): - line 17: // TODO: define this as package validate/internal pkg/validation/validate/schema.go (1 line): - line 137: // TODO: this part should be handed over to type validator pkg/common/common.go (1 line): - line 29: // TODO: Make this configurable. pkg/util/proto/document.go (1 line): - line 290: // TODO: validate that we ever published empty, non-nil properties. JSON roundtripping nils them. pkg/schemaconv/smd.go (1 line): - line 311: // TODO: We should check that the fields and discriminator pkg/validation/strfmt/doc.go (1 line): - line 17: // TODO: add info on how to define and register a custom format