File tree 26 files changed +32
-32
lines changed
modules/openapi-generator/src/main/resources/rust/reqwest
26 files changed +32
-32
lines changed Original file line number Diff line number Diff line change @@ -10,19 +10,19 @@ pub enum Error {
10
10
11
11
impl From<reqwest::Error > for Error {
12
12
fn from(e: reqwest::Error) -> Self {
13
- return Error::Reqwest(e)
13
+ Error::Reqwest(e)
14
14
}
15
15
}
16
16
17
17
impl From<serde _json::Error > for Error {
18
18
fn from(e: serde_json::Error) -> Self {
19
- return Error::Serde(e)
19
+ Error::Serde(e)
20
20
}
21
21
}
22
22
23
23
impl From<std::io::Error > for Error {
24
24
fn from(e: std::io::Error) -> Self {
25
- return Error::Io(e)
25
+ Error::Io(e)
26
26
}
27
27
}
28
28
Original file line number Diff line number Diff line change 1
- 4.0.0 -SNAPSHOT
1
+ 4.0.2 -SNAPSHOT
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ Creates list of users with given input array
55
55
56
56
Name | Type | Description | Notes
57
57
------------- | ------------- | ------------- | -------------
58
- ** body** | [ ** Vec<::models::User>** ] ( array .md) | List of user object |
58
+ ** body** | [ ** Vec<::models::User>** ] ( User .md) | List of user object |
59
59
60
60
### Return type
61
61
@@ -83,7 +83,7 @@ Creates list of users with given input array
83
83
84
84
Name | Type | Description | Notes
85
85
------------- | ------------- | ------------- | -------------
86
- ** body** | [ ** Vec<::models::User>** ] ( array .md) | List of user object |
86
+ ** body** | [ ** Vec<::models::User>** ] ( User .md) | List of user object |
87
87
88
88
### Return type
89
89
Original file line number Diff line number Diff line change 3
3
*
4
4
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
5
5
*
6
- * OpenAPI spec version: 1.0.0
6
+ * The version of the OpenAPI document : 1.0.0
7
7
*
8
8
* Generated by: https://openapi-generator.tech
9
9
*/
Original file line number Diff line number Diff line change @@ -10,19 +10,19 @@ pub enum Error {
10
10
11
11
impl From < reqwest:: Error > for Error {
12
12
fn from ( e : reqwest:: Error ) -> Self {
13
- return Error :: Reqwest ( e)
13
+ Error :: Reqwest ( e)
14
14
}
15
15
}
16
16
17
17
impl From < serde_json:: Error > for Error {
18
18
fn from ( e : serde_json:: Error ) -> Self {
19
- return Error :: Serde ( e)
19
+ Error :: Serde ( e)
20
20
}
21
21
}
22
22
23
23
impl From < std:: io:: Error > for Error {
24
24
fn from ( e : std:: io:: Error ) -> Self {
25
- return Error :: Io ( e)
25
+ Error :: Io ( e)
26
26
}
27
27
}
28
28
Original file line number Diff line number Diff line change 3
3
*
4
4
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
5
5
*
6
- * OpenAPI spec version: 1.0.0
6
+ * The version of the OpenAPI document : 1.0.0
7
7
*
8
8
* Generated by: https://openapi-generator.tech
9
9
*/
Original file line number Diff line number Diff line change 3
3
*
4
4
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
5
5
*
6
- * OpenAPI spec version: 1.0.0
6
+ * The version of the OpenAPI document : 1.0.0
7
7
*
8
8
* Generated by: https://openapi-generator.tech
9
9
*/
Original file line number Diff line number Diff line change 3
3
*
4
4
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
5
5
*
6
- * OpenAPI spec version: 1.0.0
6
+ * The version of the OpenAPI document : 1.0.0
7
7
*
8
8
* Generated by: https://openapi-generator.tech
9
9
*/
Original file line number Diff line number Diff line change 3
3
*
4
4
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
5
5
*
6
- * OpenAPI spec version: 1.0.0
6
+ * The version of the OpenAPI document : 1.0.0
7
7
*
8
8
* Generated by: https://openapi-generator.tech
9
9
*/
Original file line number Diff line number Diff line change 3
3
*
4
4
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
5
5
*
6
- * OpenAPI spec version: 1.0.0
6
+ * The version of the OpenAPI document : 1.0.0
7
7
*
8
8
* Generated by: https://openapi-generator.tech
9
9
*/
Original file line number Diff line number Diff line change 3
3
*
4
4
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
5
5
*
6
- * OpenAPI spec version: 1.0.0
6
+ * The version of the OpenAPI document : 1.0.0
7
7
*
8
8
* Generated by: https://openapi-generator.tech
9
9
*/
Original file line number Diff line number Diff line change 3
3
*
4
4
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
5
5
*
6
- * OpenAPI spec version: 1.0.0
6
+ * The version of the OpenAPI document : 1.0.0
7
7
*
8
8
* Generated by: https://openapi-generator.tech
9
9
*/
Original file line number Diff line number Diff line change 3
3
*
4
4
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
5
5
*
6
- * OpenAPI spec version: 1.0.0
6
+ * The version of the OpenAPI document : 1.0.0
7
7
*
8
8
* Generated by: https://openapi-generator.tech
9
9
*/
Original file line number Diff line number Diff line change 3
3
*
4
4
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
5
5
*
6
- * OpenAPI spec version: 1.0.0
6
+ * The version of the OpenAPI document : 1.0.0
7
7
*
8
8
* Generated by: https://openapi-generator.tech
9
9
*/
Original file line number Diff line number Diff line change 1
- 4.0.0 -SNAPSHOT
1
+ 4.0.2 -SNAPSHOT
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ Creates list of users with given input array
55
55
56
56
Name | Type | Description | Notes
57
57
------------- | ------------- | ------------- | -------------
58
- ** body** | [ ** Vec<::models::User>** ] ( array .md) | List of user object |
58
+ ** body** | [ ** Vec<::models::User>** ] ( User .md) | List of user object |
59
59
60
60
### Return type
61
61
@@ -83,7 +83,7 @@ Creates list of users with given input array
83
83
84
84
Name | Type | Description | Notes
85
85
------------- | ------------- | ------------- | -------------
86
- ** body** | [ ** Vec<::models::User>** ] ( array .md) | List of user object |
86
+ ** body** | [ ** Vec<::models::User>** ] ( User .md) | List of user object |
87
87
88
88
### Return type
89
89
Original file line number Diff line number Diff line change 3
3
*
4
4
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
5
5
*
6
- * OpenAPI spec version: 1.0.0
6
+ * The version of the OpenAPI document : 1.0.0
7
7
*
8
8
* Generated by: https://openapi-generator.tech
9
9
*/
Original file line number Diff line number Diff line change 3
3
*
4
4
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
5
5
*
6
- * OpenAPI spec version: 1.0.0
6
+ * The version of the OpenAPI document : 1.0.0
7
7
*
8
8
* Generated by: https://openapi-generator.tech
9
9
*/
Original file line number Diff line number Diff line change 3
3
*
4
4
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
5
5
*
6
- * OpenAPI spec version: 1.0.0
6
+ * The version of the OpenAPI document : 1.0.0
7
7
*
8
8
* Generated by: https://openapi-generator.tech
9
9
*/
Original file line number Diff line number Diff line change 3
3
*
4
4
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
5
5
*
6
- * OpenAPI spec version: 1.0.0
6
+ * The version of the OpenAPI document : 1.0.0
7
7
*
8
8
* Generated by: https://openapi-generator.tech
9
9
*/
Original file line number Diff line number Diff line change 3
3
*
4
4
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
5
5
*
6
- * OpenAPI spec version: 1.0.0
6
+ * The version of the OpenAPI document : 1.0.0
7
7
*
8
8
* Generated by: https://openapi-generator.tech
9
9
*/
Original file line number Diff line number Diff line change 3
3
*
4
4
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
5
5
*
6
- * OpenAPI spec version: 1.0.0
6
+ * The version of the OpenAPI document : 1.0.0
7
7
*
8
8
* Generated by: https://openapi-generator.tech
9
9
*/
Original file line number Diff line number Diff line change 3
3
*
4
4
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
5
5
*
6
- * OpenAPI spec version: 1.0.0
6
+ * The version of the OpenAPI document : 1.0.0
7
7
*
8
8
* Generated by: https://openapi-generator.tech
9
9
*/
Original file line number Diff line number Diff line change 3
3
*
4
4
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
5
5
*
6
- * OpenAPI spec version: 1.0.0
6
+ * The version of the OpenAPI document : 1.0.0
7
7
*
8
8
* Generated by: https://openapi-generator.tech
9
9
*/
Original file line number Diff line number Diff line change 3
3
*
4
4
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
5
5
*
6
- * OpenAPI spec version: 1.0.0
6
+ * The version of the OpenAPI document : 1.0.0
7
7
*
8
8
* Generated by: https://openapi-generator.tech
9
9
*/
Original file line number Diff line number Diff line change 3
3
*
4
4
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
5
5
*
6
- * OpenAPI spec version: 1.0.0
6
+ * The version of the OpenAPI document : 1.0.0
7
7
*
8
8
* Generated by: https://openapi-generator.tech
9
9
*/
You can’t perform that action at this time.
0 commit comments