File tree Expand file tree Collapse file tree 8 files changed +17
-6
lines changed
modules/swagger-codegen/src/main/resources Expand file tree Collapse file tree 8 files changed +17
-6
lines changed Original file line number Diff line number Diff line change 83
83
{{#hasHeaderParams}}
84
84
<h3 class="field-label">Request headers</h3>
85
85
<div class="field-items">
86
- {{#headerParam }}{{>headerParam}}{{/headerParam }}
86
+ {{#headerParams }}{{>headerParam}}{{/headerParams }}
87
87
</div> <!-- field-items -->
88
88
{{/hasHeaderParams}}
89
89
Original file line number Diff line number Diff line change 6
6
export({ {{classname} }})
7
7
{ {/model} }
8
8
{ {/models} }
9
+ { {#apiInfo} }
10
+ { {#apis} }
11
+ export({ {{classname} }})
12
+ { {/apis} }
13
+ { {/apiInfo} }
14
+ export(ApiClient)
Original file line number Diff line number Diff line change 1
- 2.4.3 -SNAPSHOT
1
+ 2.4.15 -SNAPSHOT
Original file line number Diff line number Diff line change @@ -9,3 +9,6 @@ export(Order)
9
9
export(Pet)
10
10
export(Tag)
11
11
export(User)
12
+ export(PetApi)
13
+ export(StoreApi)
14
+ export(UserApi)
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ ApiResponse <- R6::R6Class(
65
65
toJSONString = function () {
66
66
sprintf(
67
67
' {
68
- "code": %s ,
68
+ "code": %d ,
69
69
"type": %s,
70
70
"message": %s
71
71
}' ,
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ Order <- R6::R6Class(
102
102
' {
103
103
"id": %d,
104
104
"petId": %d,
105
- "quantity": %s ,
105
+ "quantity": %d ,
106
106
"shipDate": %s,
107
107
"status": %s,
108
108
"complete": %s
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ User <- R6::R6Class(
132
132
"email": %s,
133
133
"password": %s,
134
134
"phone": %s,
135
- "userStatus": %s
135
+ "userStatus": %d
136
136
}' ,
137
137
self $ `id` ,
138
138
self $ `username` ,
Original file line number Diff line number Diff line change @@ -291,7 +291,9 @@ <h3 class="field-label">Path parameters</h3>
291
291
292
292
< h3 class ="field-label "> Request headers</ h3 >
293
293
< div class ="field-items ">
294
-
294
+ < div class ="param "> api_key (optional)</ div >
295
+
296
+ < div class ="param-desc "> < span class ="param-type "> Header Parameter</ span > — </ div >
295
297
</ div > <!-- field-items -->
296
298
297
299
You can’t perform that action at this time.
0 commit comments