Summary: 35 instances, 33 unique Text Count // TODO: this part should be handed over to type validator 1 // TODO: add info on how to define and register a custom format 1 /* TODO: add support for the cookie param */ 1 // TODO: should move to package go-openapi/errors 1 // TODO: default boundaries with MAX_SAFE_INTEGER are not checked (specific to json.Number?) 1 // TODO: Remove patch struct tag validation because they we are now consuming OpenAPI on server. 1 // TODO: guard against nil data 1 // TODO: case []byte: // ? 1 // TODO: Default response if needed. Common Response config 1 // TODO: this one is going to disapear... 1 // TODO: check json.Number (see schema.go) 1 // TODO: Use an off-the-shelf CamelCase solution instead of implementing this logic. The following existing 1 // TODO: this should also work for structs 1 // TODO: Make this configurable. 1 // TODO: it looks like we have done that twice in many cases 1 // TODO: Remove patch struct tag validation because they we are now consuming OpenAPI on server. 1 // TODO: this is dead code since regularProperty=false here 1 // TODO: Normally, a JSON MAX_SAFE_INTEGER check would ensure conversion remains loss-free 3 // TODO: case int64: and case float64: ? 1 // TODO: succeededOnce is not used anywhere 1 // TODO: missing binary (io.ReadCloser) 1 // TODO: missing json.Number 1 // TODO: define this as package validate/internal 1 // TODO: punctuation in message 1 // TODO: reporting / pretty print with path ordered and indented 1 // TODO: consider replacing boundary check errors by simple warnings. 1 // TODO: We should check that the fields and discriminator 1 // TODO: this switch really is some sort of reverse lookup for formats. It should be provided by strfmt. 1 // TODO: validate that we ever published empty, non-nil properties. JSON roundtripping nils them. 1 // TODO: test case 1 // TODO: keep path of key originating the error 1 if len(t.Type) > 0 && !t.Type.Contains(nullType) && !t.Nullable { // TODO: if a property is not required it also passes this 1 // TODO: check unsigned ints 1