-
## Problem statement
When generating a model with array defining a tuple, the generated validation code requires all items to be present in an instance of the tuple.
But the JSON schema 4 spec state…
-
I want to be really lazy and validate an entire endpoint (including parameters, which I don't think are supported at the moment).
Usage could look something like this:
```js
const oas2joi = requi…
-
#### Bug Report Checklist
- [x] Have you provided a full/minimal spec to reproduce the issue?
- [x] Have you validated the input using an OpenAPI validator ([example](https://apidevtools.org/swagg…
-
It seems like there is a lot of basic validation that can be done on the client side, potentially saving a network call.
For example, validating numbers so they are within a range.
Regex validation f…
-
I have the following schema:
```
public static function setUpProperties($properties, Schema $ownerSchema)
{
$ownerSchema->oneOf = [
Object1::schema(),
Object2::schema(),
Object3::s…
ghost updated
3 years ago
-
### Description
example:
```js
export class Post {
@IsString
rating: string;
}
```
while validating, class-validator will not use `rating`'s type info which is string.
Instead, a redu…
-
Directory structure is as follows:
```
├── main.json
├── objects.json
└── test.json
```
_main.json_:
```JSON
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$id": "1.1.0",…
-
**Describe the bug**
We are using tsoa for generating OpenAPI specs(https://tsoa-community.github.io/docs/generating.html#using-cli) and it is working fine. But when I try to use express-openapi-vali…
-
https://github.com/JetBrains/web-types
-
I absolutely L-L-LOVE cooklang! Recently discovered it and just jumped in head-first. I did notice, however, that there already exists a Recipe schema for structured data: https://schema.org/Recipe
…