fork of hey-api/openapi-ts because I need some additional things
1{
2 "openapi": "3.1.0",
3 "info": {
4 "title": "OpenAPI 3.1.0 additional properties false example",
5 "version": "1"
6 },
7 "components": {
8 "schemas": {
9 "Foo": {
10 "required": ["foo"],
11 "type": "object",
12 "properties": {
13 "foo": {
14 "type": "string"
15 }
16 },
17 "additionalProperties": false
18 },
19 "Bar": {
20 "allOf": [
21 {
22 "$ref": "#/components/schemas/Foo"
23 },
24 {
25 "type": "object",
26 "additionalProperties": false
27 }
28 ]
29 },
30 "Baz": {
31 "allOf": [
32 {
33 "$ref": "#/components/schemas/Foo"
34 },
35 {
36 "required": ["bar"],
37 "type": "object",
38 "properties": {
39 "bar": {
40 "type": "string"
41 }
42 },
43 "additionalProperties": false
44 }
45 ]
46 }
47 }
48 }
49}