Carmine DiMascio

Results 102 comments of Carmine DiMascio

@MattRM-M Can you provide some details with respect to how you did this profiling. I'm interested in recreating this locally

try casting the value as `any` as a workaround the issue. let me know if it works properly. assuming so, we'll have to look at the typescript types ``` apiSpec:...

@babaliaris this test look incorrect. you are providing a ISO utc date, `toISOString()` is called on the date and the date portion is retained. The current behavior looks correct.

thanks @Morriz, would you be interested in submitting a PR?

readonly properties should not be provided in the request, hence the error and current behavior is correct https://swagger.io/docs/specification/data-models/data-types/ > Read-Only and Write-Only Properties You can use the readOnly and writeOnly...

@nasht00 i believe you can solve this by using the new `formats` option e.g. ```js formats: [ { name: 'my-three-digit-format', type: 'number', // validate returns true the number has 3...

going to close this out. please re-open if this solution does not meet your needs

3-letter-format is just an example. You can use the example above as a guide to create your own custom format that validates duration. Basically, make up a name for the...

@nasht00 i see. this makes sense. i'll reopen the ticket. ideally ajv will handle this for us, however until then (havne't checked) we could embed a customer validator to handle...

You might also consider posting this question to StackOverflow for wider reach.