|
227 | 227 | { } |
228 | 228 | ], |
229 | 229 | "x-json-schema": { |
230 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 230 | + "$schema": "https://json-schema.org/draft-07/schema#", |
231 | 231 | "description": "There can be headers, but they are not explicitly documented.", |
232 | 232 | "title": "HeadersNotDocumented", |
233 | 233 | "type": "object" |
|
242 | 242 | { } |
243 | 243 | ], |
244 | 244 | "x-json-schema": { |
245 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 245 | + "$schema": "https://json-schema.org/draft-07/schema#", |
246 | 246 | "description": "No headers are present.", |
247 | 247 | "title": "HeadersNotUsed", |
248 | 248 | "type": "object" |
|
257 | 257 | { } |
258 | 258 | ], |
259 | 259 | "x-json-schema": { |
260 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 260 | + "$schema": "https://json-schema.org/draft-07/schema#", |
261 | 261 | "description": "No payload specified", |
262 | 262 | "title": "PayloadNotUsed", |
263 | 263 | "type": "object" |
|
370 | 370 | } |
371 | 371 | ], |
372 | 372 | "x-json-schema": { |
373 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 373 | + "$schema": "https://json-schema.org/draft-07/schema#", |
374 | 374 | "description": "Spring __TypeId__ and CloudEvent Headers", |
375 | 375 | "properties": { |
376 | 376 | "__TypeId__": { |
|
464 | 464 | } |
465 | 465 | ], |
466 | 466 | "x-json-schema": { |
467 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 467 | + "$schema": "https://json-schema.org/draft-07/schema#", |
468 | 468 | "properties": { |
469 | 469 | "__TypeId__": { |
470 | 470 | "description": "Spring Type Id Header", |
|
501 | 501 | } |
502 | 502 | ], |
503 | 503 | "x-json-schema": { |
504 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 504 | + "$schema": "https://json-schema.org/draft-07/schema#", |
505 | 505 | "properties": { |
506 | 506 | "__TypeId__": { |
507 | 507 | "description": "Spring Type Id Header", |
|
539 | 539 | } |
540 | 540 | ], |
541 | 541 | "x-json-schema": { |
542 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 542 | + "$schema": "https://json-schema.org/draft-07/schema#", |
543 | 543 | "properties": { |
544 | 544 | "__TypeId__": { |
545 | 545 | "description": "Type ID", |
|
602 | 602 | } |
603 | 603 | ], |
604 | 604 | "x-json-schema": { |
605 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 605 | + "$schema": "https://json-schema.org/draft-07/schema#", |
606 | 606 | "properties": { |
607 | 607 | "__TypeId__": { |
608 | 608 | "description": "Spring Type Id Header", |
|
650 | 650 | } |
651 | 651 | ], |
652 | 652 | "x-json-schema": { |
653 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 653 | + "$schema": "https://json-schema.org/draft-07/schema#", |
654 | 654 | "properties": { |
655 | 655 | "__TypeId__": { |
656 | 656 | "description": "Spring Type Id Header", |
|
687 | 687 | } |
688 | 688 | ], |
689 | 689 | "x-json-schema": { |
690 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 690 | + "$schema": "https://json-schema.org/draft-07/schema#", |
691 | 691 | "properties": { |
692 | 692 | "__TypeId__": { |
693 | 693 | "description": "Spring Type Id Header", |
|
724 | 724 | } |
725 | 725 | ], |
726 | 726 | "x-json-schema": { |
727 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 727 | + "$schema": "https://json-schema.org/draft-07/schema#", |
728 | 728 | "properties": { |
729 | 729 | "__TypeId__": { |
730 | 730 | "description": "Spring Type Id Header", |
|
761 | 761 | } |
762 | 762 | ], |
763 | 763 | "x-json-schema": { |
764 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 764 | + "$schema": "https://json-schema.org/draft-07/schema#", |
765 | 765 | "properties": { |
766 | 766 | "__TypeId__": { |
767 | 767 | "description": "Spring Type Id Header", |
|
798 | 798 | } |
799 | 799 | ], |
800 | 800 | "x-json-schema": { |
801 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 801 | + "$schema": "https://json-schema.org/draft-07/schema#", |
802 | 802 | "properties": { |
803 | 803 | "__TypeId__": { |
804 | 804 | "description": "Spring Type Id Header", |
|
835 | 835 | } |
836 | 836 | ], |
837 | 837 | "x-json-schema": { |
838 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 838 | + "$schema": "https://json-schema.org/draft-07/schema#", |
839 | 839 | "properties": { |
840 | 840 | "__TypeId__": { |
841 | 841 | "description": "Spring Type Id Header", |
|
872 | 872 | } |
873 | 873 | ], |
874 | 874 | "x-json-schema": { |
875 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 875 | + "$schema": "https://json-schema.org/draft-07/schema#", |
876 | 876 | "properties": { |
877 | 877 | "__TypeId__": { |
878 | 878 | "description": "Spring Type Id Header", |
|
909 | 909 | } |
910 | 910 | ], |
911 | 911 | "x-json-schema": { |
912 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 912 | + "$schema": "https://json-schema.org/draft-07/schema#", |
913 | 913 | "properties": { |
914 | 914 | "__TypeId__": { |
915 | 915 | "description": "Spring Type Id Header", |
|
946 | 946 | } |
947 | 947 | ], |
948 | 948 | "x-json-schema": { |
949 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 949 | + "$schema": "https://json-schema.org/draft-07/schema#", |
950 | 950 | "properties": { |
951 | 951 | "__TypeId__": { |
952 | 952 | "description": "Spring Type Id Header", |
|
969 | 969 | "\"string\"" |
970 | 970 | ], |
971 | 971 | "x-json-schema": { |
972 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 972 | + "$schema": "https://json-schema.org/draft-07/schema#", |
973 | 973 | "description": "Payload description using @Schema annotation and @AsyncApiPayload within envelope class", |
974 | 974 | "maxLength": 100, |
975 | 975 | "type": "string" |
|
1001 | 1001 | } |
1002 | 1002 | ], |
1003 | 1003 | "x-json-schema": { |
1004 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 1004 | + "$schema": "https://json-schema.org/draft-07/schema#", |
1005 | 1005 | "properties": { |
1006 | 1006 | "examplePayloadAvroDto": { |
1007 | 1007 | "properties": { |
|
1048 | 1048 | } |
1049 | 1049 | ], |
1050 | 1050 | "x-json-schema": { |
1051 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 1051 | + "$schema": "https://json-schema.org/draft-07/schema#", |
1052 | 1052 | "properties": { |
1053 | 1053 | "someLong": { |
1054 | 1054 | "format": "int64", |
|
1091 | 1091 | } |
1092 | 1092 | ], |
1093 | 1093 | "x-json-schema": { |
1094 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 1094 | + "$schema": "https://json-schema.org/draft-07/schema#", |
1095 | 1095 | "properties": { |
1096 | 1096 | "someEnum": { |
1097 | 1097 | "enum": [ |
|
1145 | 1145 | "example" |
1146 | 1146 | ], |
1147 | 1147 | "x-json-schema": { |
1148 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 1148 | + "$schema": "https://json-schema.org/draft-07/schema#", |
1149 | 1149 | "description": "Another payload model", |
1150 | 1150 | "properties": { |
1151 | 1151 | "example": { |
|
1237 | 1237 | "someString" |
1238 | 1238 | ], |
1239 | 1239 | "x-json-schema": { |
1240 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 1240 | + "$schema": "https://json-schema.org/draft-07/schema#", |
1241 | 1241 | "description": "Example payload model demonstrating markdown text styling:\n**bold**, *cursive* and <u>underlined</u>\n", |
1242 | 1242 | "properties": { |
1243 | 1243 | "someEnum": { |
|
1306 | 1306 | } |
1307 | 1307 | ], |
1308 | 1308 | "x-json-schema": { |
1309 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 1309 | + "$schema": "https://json-schema.org/draft-07/schema#", |
1310 | 1310 | "description": "Payload model with nested complex types", |
1311 | 1311 | "properties": { |
1312 | 1312 | "examplePayloads": { |
|
1410 | 1410 | "requiredField" |
1411 | 1411 | ], |
1412 | 1412 | "x-json-schema": { |
1413 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 1413 | + "$schema": "https://json-schema.org/draft-07/schema#", |
1414 | 1414 | "description": "Demonstrate required and nullable. Note, @Schema is only descriptive without nullability check", |
1415 | 1415 | "properties": { |
1416 | 1416 | "enumField": { |
|
1484 | 1484 | "<io.github.springwolf.examples.kafka.dtos.XmlPayloadDto someAttribute=\"string\"><someEnum>FOO1</someEnum><someLong>0</someLong><someString>string</someString></io.github.springwolf.examples.kafka.dtos.XmlPayloadDto>" |
1485 | 1485 | ], |
1486 | 1486 | "x-json-schema": { |
1487 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 1487 | + "$schema": "https://json-schema.org/draft-07/schema#", |
1488 | 1488 | "properties": { |
1489 | 1489 | "someAttribute": { }, |
1490 | 1490 | "someEnum": { |
|
1531 | 1531 | "someEnum: FOO1\nsomeLong: 0\nsomeString: string\n" |
1532 | 1532 | ], |
1533 | 1533 | "x-json-schema": { |
1534 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 1534 | + "$schema": "https://json-schema.org/draft-07/schema#", |
1535 | 1535 | "properties": { |
1536 | 1536 | "someEnum": { |
1537 | 1537 | "enum": [ |
|
1573 | 1573 | } |
1574 | 1574 | ], |
1575 | 1575 | "x-json-schema": { |
1576 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 1576 | + "$schema": "https://json-schema.org/draft-07/schema#", |
1577 | 1577 | "properties": { |
1578 | 1578 | "hp": { |
1579 | 1579 | "format": "int32", |
|
1627 | 1627 | } |
1628 | 1628 | ], |
1629 | 1629 | "x-json-schema": { |
1630 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 1630 | + "$schema": "https://json-schema.org/draft-07/schema#", |
1631 | 1631 | "description": "Demonstrates the use of discriminator for polymorphic deserialization (not publishable)", |
1632 | 1632 | "oneOf": [ |
1633 | 1633 | { |
|
1715 | 1715 | } |
1716 | 1716 | ], |
1717 | 1717 | "x-json-schema": { |
1718 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 1718 | + "$schema": "https://json-schema.org/draft-07/schema#", |
1719 | 1719 | "allOf": [ |
1720 | 1720 | { |
1721 | 1721 | "description": "Demonstrates the use of discriminator for polymorphic deserialization (not publishable)", |
|
1798 | 1798 | } |
1799 | 1799 | ], |
1800 | 1800 | "x-json-schema": { |
1801 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 1801 | + "$schema": "https://json-schema.org/draft-07/schema#", |
1802 | 1802 | "allOf": [ |
1803 | 1803 | { |
1804 | 1804 | "description": "Demonstrates the use of discriminator for polymorphic deserialization (not publishable)", |
|
1858 | 1858 | 0 |
1859 | 1859 | ], |
1860 | 1860 | "x-json-schema": { |
1861 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 1861 | + "$schema": "https://json-schema.org/draft-07/schema#", |
1862 | 1862 | "format": "int32", |
1863 | 1863 | "type": "integer" |
1864 | 1864 | } |
|
1869 | 1869 | "\"string\"" |
1870 | 1870 | ], |
1871 | 1871 | "x-json-schema": { |
1872 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 1872 | + "$schema": "https://json-schema.org/draft-07/schema#", |
1873 | 1873 | "type": "string" |
1874 | 1874 | } |
1875 | 1875 | }, |
|
1897 | 1897 | } |
1898 | 1898 | ], |
1899 | 1899 | "x-json-schema": { |
1900 | | - "$schema": "https://json-schema.org/draft-04/schema#", |
| 1900 | + "$schema": "https://json-schema.org/draft-07/schema#", |
1901 | 1901 | "properties": { |
1902 | 1902 | "amount": { |
1903 | 1903 | "exclusiveMinimum": 0.01, |
|
0 commit comments