Skip to content

Commit fe1b02f

Browse files
committed
chore: test revamp
1 parent 1ea35b6 commit fe1b02f

12 files changed

Lines changed: 4710 additions & 1197 deletions
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
2+
3+
exports[`Synth > JSON Schema snapshot 1`] = `
4+
{
5+
"$schema": "http://json-schema.org/draft-07/schema#",
6+
"definitions": {
7+
"Address": {
8+
"additionalProperties": false,
9+
"properties": {
10+
"postcode": {
11+
"format": "int32",
12+
"maximum": 9999,
13+
"minimum": 1000,
14+
"type": "integer",
15+
},
16+
},
17+
"required": [
18+
"name",
19+
],
20+
"type": "object",
21+
},
22+
"Id": {
23+
"type": "string",
24+
},
25+
"UpdateUserRequest": {
26+
"additionalProperties": false,
27+
"minProperties": 1,
28+
"properties": {
29+
"address": {
30+
"$ref": "#/components/schemas/Address",
31+
},
32+
"age": {
33+
"format": "int32",
34+
"minimum": 0,
35+
"type": "integer",
36+
},
37+
},
38+
"type": "object",
39+
},
40+
"User": {
41+
"additionalProperties": false,
42+
"properties": {
43+
"address": {
44+
"$ref": "#/components/schemas/Address",
45+
},
46+
"age": {
47+
"format": "int32",
48+
"minimum": 0,
49+
"type": "integer",
50+
},
51+
"name": {
52+
"type": "string",
53+
},
54+
"userId": {
55+
"$ref": "#/components/schemas/Id",
56+
},
57+
},
58+
"required": [
59+
"name",
60+
],
61+
"type": "object",
62+
},
63+
"Users": {
64+
"items": {
65+
"$ref": "#/components/schemas/User",
66+
},
67+
"type": "array",
68+
"uniqueItems": true,
69+
},
70+
},
71+
}
72+
`;

0 commit comments

Comments
 (0)