blob: e12b2f77ba9554049cfb4eba8543ab532aea03d7 [file] [log] [blame]
Marcel van Lohuizen7b7ccdd2019-07-03 13:33:03 +02001{
2 "openapi": "3.0.0",
3 "info": {
4 "title": "test",
5 "version": "v1"
6 },
Eric Adlam9b70cf32019-09-28 11:45:31 -04007 "paths": {},
Marcel van Lohuizen7b7ccdd2019-07-03 13:33:03 +02008 "components": {
Marcel van Lohuizen0a975332019-07-04 10:43:25 +02009 "schemas": {
Marcel van Lohuizen7b7ccdd2019-07-03 13:33:03 +020010 "MyStruct": {
11 "type": "object",
12 "required": [
13 "mediumNum",
14 "smallNum",
15 "float",
Jason Wang2b56efa2019-08-21 13:35:53 -070016 "double",
17 "deprecatedField"
Marcel van Lohuizen7b7ccdd2019-07-03 13:33:03 +020018 ],
19 "properties": {
Marcel van Lohuizen7b7ccdd2019-07-03 13:33:03 +020020 "mediumNum": {
21 "type": "integer",
22 "format": "int32"
23 },
24 "smallNum": {
25 "type": "integer"
Marcel van Lohuizenc89f5a62019-07-04 10:41:18 +020026 },
27 "float": {
28 "type": "number",
29 "format": "float"
30 },
31 "double": {
32 "type": "number",
33 "format": "double"
Jason Wang2b56efa2019-08-21 13:35:53 -070034 },
35 "deprecatedField": {
36 "type": "string",
37 "format": "string",
38 "deprecated": true
Marcel van Lohuizen7b7ccdd2019-07-03 13:33:03 +020039 }
40 }
41 }
42 }
43 }
44}