This repository was archived by the owner on Dec 25, 2024. It is now read-only.
Commit 9596ebd
authored
Java, adds map builder class placeholder (#325)
* Adds placeholder builder class to 303 sample
* Updates schema doc to have objectInput section
* Moves docs section for map input
* Fixes docs for map input type
* Adds required and optional property input types in schemas
* Adds link from map out to map in definition in docs
* Adds map links to map input class in schema docs
* Uses map name in java classes
* Sample regen
* Removes pass
* Sample regen1 parent 9d301e2 commit 9596ebd
586 files changed
Lines changed: 3913 additions & 2081 deletions
File tree
- samples/client
- 3_0_3_unit_test/java
- docs/components/schemas
- src/main/java/org/openapijsonschematools/client/components/schemas
- petstore/java
- docs
- components
- headers
- int32jsoncontenttypeheader/content/applicationjson
- numberheader
- refcontentschemaheader/content/applicationjson
- refschemaheader
- stringheader
- parameters
- componentrefschemastringwithvalidation/content/applicationjson
- pathusername
- refschemastringwithvalidation
- requestbodies
- client/content/applicationjson
- pet/content
- applicationjson
- applicationxml
- userarray/content/applicationjson
- responses
- headerswithnobody/headers/location
- successfulxmlandjsonarrayofpet/content
- applicationjson
- applicationxml
- successinlinecontentandheader
- content/applicationjson
- headers/someheader
- successwithjsonapiresponse/content/applicationjson
- schemas
- paths
- anotherfakedummy/patch/responses/response200/content/applicationjson
- commonparamsubdir
- delete/parameters
- parameter0
- parameter1
- get/parameters/parameter0
- parameters/parameter0
- post/parameters/parameter0
- fakeadditionalpropertieswitharrayofenums/get
- requestbody/content/applicationjson
- responses/response200/content/applicationjson
- fakebodywithfileschema/put/requestbody/content/applicationjson
- fakebodywithqueryparams/put
- parameters/parameter0
- requestbody/content/applicationjson
- fakecasesensitiveparams/put/parameters
- parameter0
- parameter1
- parameter2
- fakeclassnametest/patch/responses/response200/content/applicationjson
- fakedeletecoffeeid/delete/parameters/parameter0
- fakehealth/get/responses/response200/content/applicationjson
- fakeinlineadditionalproperties/post/requestbody/content/applicationjson
- fakeinlinecomposition/post
- parameters
- parameter0
- parameter1
- requestbody/content
- applicationjson
- multipartformdata
- responses/response200/content
- applicationjson
- multipartformdata
- fakejsonformdata/get/requestbody/content/applicationxwwwformurlencoded
- fakejsonpatch/patch/requestbody/content/applicationjsonpatchjson
- fakejsonwithcharset/post
- requestbody/content/applicationjsoncharsetutf8
- responses/response200/content/applicationjsoncharsetutf8
- fakemultiplerequestbodycontenttypes/post
- requestbody/content
- applicationjson
- multipartformdata
- responses/response200/content/applicationjson
- fakemultipleresponsebodies/get/responses
- response200/content/applicationjson
- response202/content/applicationjson
- fakemultiplesecurities/get/responses/response200/content/applicationjson
- fakeobjinquery/get/parameters/parameter0
- fakeparametercollisions1ababselfab/post
- parameters
- parameter0
- parameter10
- parameter11
- parameter12
- parameter13
- parameter14
- parameter15
- parameter16
- parameter17
- parameter18
- parameter1
- parameter2
- parameter3
- parameter4
- parameter5
- parameter6
- parameter7
- parameter8
- parameter9
- requestbody/content/applicationjson
- responses/response200/content/applicationjson
- fakepetiduploadimagewithrequiredfile/post
- parameters/parameter0
- requestbody/content/multipartformdata
- responses/response200/content/applicationjson
- fakequeryparamwithjsoncontenttype/get
- parameters/parameter0/content/applicationjson
- responses/response200/content/applicationjson
- fakerefobjinquery/get/parameters/parameter0
- fakerefsarraymodel/post
- requestbody/content/applicationjson
- responses/response200/content/applicationjson
- fakerefsarrayofenums/post
- requestbody/content/applicationjson
- responses/response200/content/applicationjson
- fakerefsboolean/post
- requestbody/content/applicationjson
- responses/response200/content/applicationjson
- fakerefscomposedoneofnumberwithvalidations/post
- requestbody/content/applicationjson
- responses/response200/content/applicationjson
- fakerefsenum/post
- requestbody/content/applicationjson
- responses/response200/content/applicationjson
- fakerefsmammal/post
- requestbody/content/applicationjson
- responses/response200/content/applicationjson
- fakerefsnumber/post
- requestbody/content/applicationjson
- responses/response200/content/applicationjson
- fakerefsobjectmodelwithrefprops/post
- requestbody/content/applicationjson
- responses/response200/content/applicationjson
- fakerefsstring/post
- requestbody/content/applicationjson
- responses/response200/content/applicationjson
- faketestqueryparamters/put/parameters
- parameter0
- parameter1
- parameter2
- parameter3
- parameter4
- parameter5
- fakeuploaddownloadfile/post
- requestbody/content/applicationoctetstream
- responses/response200/content/applicationoctetstream
- fakeuploadfiles/post
- requestbody/content/multipartformdata
- responses/response200/content/applicationjson
- fakeuploadfile/post
- requestbody/content/multipartformdata
- responses/response200/content/applicationjson
- fakewildcardresponses/get/responses
- response1xx/content/applicationjson
- response200/content/applicationjson
- response2xx/content/applicationjson
- response3xx/content/applicationjson
- response4xx/content/applicationjson
- response5xx/content/applicationjson
- fake
- delete/parameters
- parameter0
- parameter1
- parameter2
- parameter3
- parameter4
- parameter5
- get
- parameters
- parameter0
- parameter1
- parameter2
- parameter3
- parameter4
- parameter5
- requestbody/content/applicationxwwwformurlencoded
- responses/response404/content/applicationjson
- patch/responses/response200/content/applicationjson
- post/requestbody/content/applicationxwwwformurlencoded
- foo/get/responses/responsedefault/content/applicationjson
- petfindbystatus/get/parameters/parameter0
- petfindbytags/get/parameters/parameter0
- petpetiduploadimage/post
- parameters/parameter0
- requestbody/content/multipartformdata
- petpetid
- delete/parameters
- parameter0
- parameter1
- get
- parameters/parameter0
- responses/response200/content
- applicationjson
- applicationxml
- post
- parameters/parameter0
- requestbody/content/applicationxwwwformurlencoded
- storeorderorderid
- delete/parameters/parameter0
- get
- parameters/parameter0
- responses/response200/content
- applicationjson
- applicationxml
- storeorder/post
- requestbody/content/applicationjson
- responses/response200/content
- applicationjson
- applicationxml
- userlogin/get
- parameters
- parameter0
- parameter1
- responses/response200
- content
- applicationjson
- applicationxml
- headers
- xexpiresafter
- xratelimit/content/applicationjson
- userusername
- get/responses/response200/content
- applicationjson
- applicationxml
- put/requestbody/content/applicationjson
- user/post/requestbody/content/applicationjson
- src/main/java/org/openapijsonschematools/client
- components
- requestbodies/userarray/content/applicationjson
- responses
- headerswithnobody
- successfulxmlandjsonarrayofpet/content
- applicationjson
- applicationxml
- successinlinecontentandheader
- content/applicationjson
- successwithjsonapiresponse
- schemas
- paths
- commonparamsubdir
- delete
- get
- post
- fakebodywithqueryparams/put
- fakecasesensitiveparams/put
- fakedeletecoffeeid/delete
- fakeinlineadditionalproperties/post/requestbody/content/applicationjson
- fakeinlinecomposition/post
- parameters/parameter1
- requestbody/content/multipartformdata
- responses/response200/content/multipartformdata
- fakejsonformdata/get/requestbody/content/applicationxwwwformurlencoded
- fakemultiplerequestbodycontenttypes/post/requestbody/content
- applicationjson
- multipartformdata
- fakeobjinquery/get
- parameters/parameter0
- fakeparametercollisions1ababselfab/post
- fakepetiduploadimagewithrequiredfile/post
- requestbody/content/multipartformdata
- fakequeryparamwithjsoncontenttype/get
- fakerefobjinquery/get
- faketestqueryparamters/put
- parameters
- parameter0
- parameter1
- parameter2
- parameter3
- parameter4
- fakeuploadfiles/post/requestbody/content/multipartformdata
- fakeuploadfile/post/requestbody/content/multipartformdata
- fake
- delete
- get
- parameters
- parameter0
- parameter2
- requestbody/content/applicationxwwwformurlencoded
- post/requestbody/content/applicationxwwwformurlencoded
- foo/get/responses/responsedefault/content/applicationjson
- petfindbystatus/get
- parameters/parameter0
- petfindbytags/get
- parameters/parameter0
- petpetiduploadimage/post
- requestbody/content/multipartformdata
- petpetid
- delete
- get
- post
- requestbody/content/applicationxwwwformurlencoded
- storeorderorderid
- delete
- get
- userlogin/get
- responses/response200
- userusername
- delete
- get
- put
- src/main
- java/org/openapijsonschematools/codegen/generators
- openapimodels
- resources/java/src/main/java/packagename/components/schemas
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 17 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
58 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
59 | 74 | | |
60 | 75 | | |
61 | 76 | | |
| |||
66 | 81 | | |
67 | 82 | | |
68 | 83 | | |
69 | | - | |
| 84 | + | |
70 | 85 | | |
71 | 86 | | |
72 | 87 | | |
73 | 88 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | 89 | | |
85 | 90 | | |
86 | 91 | | |
| |||
Lines changed: 17 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
40 | | - | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
43 | 58 | | |
44 | 59 | | |
45 | 60 | | |
| |||
49 | 64 | | |
50 | 65 | | |
51 | 66 | | |
52 | | - | |
| 67 | + | |
53 | 68 | | |
54 | 69 | | |
55 | 70 | | |
56 | 71 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
| |||
Lines changed: 15 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
56 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
57 | 70 | | |
58 | 71 | | |
59 | 72 | | |
| |||
64 | 77 | | |
65 | 78 | | |
66 | 79 | | |
67 | | - | |
| 80 | + | |
68 | 81 | | |
69 | 82 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | 83 | | |
79 | 84 | | |
80 | 85 | | |
| |||
Lines changed: 30 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
| |||
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
42 | | - | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
45 | 59 | | |
46 | 60 | | |
47 | 61 | | |
| |||
51 | 65 | | |
52 | 66 | | |
53 | 67 | | |
54 | | - | |
| 68 | + | |
55 | 69 | | |
56 | 70 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | 71 | | |
66 | 72 | | |
67 | 73 | | |
| |||
83 | 89 | | |
84 | 90 | | |
85 | 91 | | |
86 | | - | |
| 92 | + | |
87 | 93 | | |
88 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
89 | 107 | | |
90 | 108 | | |
91 | 109 | | |
| |||
95 | 113 | | |
96 | 114 | | |
97 | 115 | | |
98 | | - | |
| 116 | + | |
99 | 117 | | |
100 | 118 | | |
101 | 119 | | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | 120 | | |
112 | 121 | | |
113 | 122 | | |
| |||
0 commit comments