Skip to content

Commit 00861fb

Browse files
committed
[samples] Regenerate
1 parent 4408b95 commit 00861fb

File tree

3 files changed

+4
-22
lines changed
  • samples
    • client/petstore/haskell-http-client/lib/OpenAPIPetstore
    • server/petstore

3 files changed

+4
-22
lines changed

samples/client/petstore/haskell-http-client/lib/OpenAPIPetstore/Model.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2039,7 +2039,7 @@ toE'ArrayEnum = \case
20392039

20402040
-- ** E'EnumFormString
20412041

2042-
-- | Enum of 'Text' .
2042+
-- | Enum of 'Text' .
20432043
-- Form parameter enum test (string)
20442044
data E'EnumFormString
20452045
= E'EnumFormString'_abc -- ^ @"_abc"@
@@ -2304,7 +2304,7 @@ toE'Kind = \case
23042304

23052305
-- ** E'Status
23062306

2307-
-- | Enum of 'Text' .
2307+
-- | Enum of 'Text' .
23082308
-- Order Status
23092309
data E'Status
23102310
= E'Status'Placed -- ^ @"placed"@
@@ -2336,7 +2336,7 @@ toE'Status = \case
23362336

23372337
-- ** E'Status2
23382338

2339-
-- | Enum of 'Text' .
2339+
-- | Enum of 'Text' .
23402340
-- pet status in the store
23412341
data E'Status2
23422342
= E'Status2'Available -- ^ @"available"@
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.2.0-SNAPSHOT
1+
5.0.0-SNAPSHOT

samples/server/petstore/rust-server/output/openapi-v3/src/client/callbacks.rs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -140,15 +140,6 @@ where
140140

141141
// CallbackCallbackWithHeaderPost - POST /{$request.query.url}/callback-with-header
142142
&hyper::Method::POST if path.matched(paths::ID_REQUEST_QUERY_URL_CALLBACK_WITH_HEADER) => {
143-
// Path parameters
144-
let path: &str = &uri.path().to_string();
145-
let path_params =
146-
paths::REGEX_REQUEST_QUERY_URL_CALLBACK_WITH_HEADER
147-
.captures(&path)
148-
.unwrap_or_else(||
149-
panic!("Path {} matched RE REQUEST_QUERY_URL_CALLBACK_WITH_HEADER in set but failed match against \"{}\"", path, paths::REGEX_REQUEST_QUERY_URL_CALLBACK_WITH_HEADER.as_str())
150-
);
151-
152143
let callback_request_query_url = path_params["request_query_url"].to_string();
153144
// Header parameters
154145
let param_information = headers.get(HeaderName::from_static("information"));
@@ -208,15 +199,6 @@ where
208199

209200
// CallbackCallbackPost - POST /{$request.query.url}/callback
210201
&hyper::Method::POST if path.matched(paths::ID_REQUEST_QUERY_URL_CALLBACK) => {
211-
// Path parameters
212-
let path: &str = &uri.path().to_string();
213-
let path_params =
214-
paths::REGEX_REQUEST_QUERY_URL_CALLBACK
215-
.captures(&path)
216-
.unwrap_or_else(||
217-
panic!("Path {} matched RE REQUEST_QUERY_URL_CALLBACK in set but failed match against \"{}\"", path, paths::REGEX_REQUEST_QUERY_URL_CALLBACK.as_str())
218-
);
219-
220202
let callback_request_query_url = path_params["request_query_url"].to_string();
221203
Box::new({
222204
{{

0 commit comments

Comments
 (0)