File tree Expand file tree Collapse file tree 3 files changed +32
-5
lines changed
Expand file tree Collapse file tree 3 files changed +32
-5
lines changed Original file line number Diff line number Diff line change 1+ //!
2+ //! This file was auto-generated using OpenAPI server generator
3+ //! at <https://openapi-generator.tech/docs/generators/rust>
4+ //! on 2023-07-07
5+ //! using BOB's REST API schema, commit = ade0eadf1db7cda072cfab07dff7b1b57247e34a:
6+ //! <https://github.com/qoollo/bob/blob/928faef96ced755b75e3396b84febad1ecaf1dae/config-examples/openapi.yaml>
7+ //!
18use super :: context:: ContextWrapper ;
29use super :: dto:: { self } ;
310use crate :: prelude:: * ;
Original file line number Diff line number Diff line change 1+ //!
2+ //! This file was *partly* auto-generated using OpenAPI server generator
3+ //! at <https://openapi-generator.tech/docs/generators/rust>
4+ //! on 2023-07-07
5+ //! using BOB's REST API schema, commit = ade0eadf1db7cda072cfab07dff7b1b57247e34a:
6+ //! <https://github.com/qoollo/bob/blob/928faef96ced755b75e3396b84febad1ecaf1dae/config-examples/openapi.yaml>
7+ //!
8+ //! This file was modified in order to get rid of the "swagger" crate, which brings
9+ //! a lot of unnecessary dependencies (for example, openssl, which can cause problems
10+ //! when creating docker images, even if we use only the http client). In addition,
11+ //! some refactoring was done to reduce the code size (from 2k-ish LOC to 500).
12+ //!
13+
114#![ allow(
215 missing_docs,
316 clippy:: module_name_repetitions,
417 dead_code,
518 unused_variables
619) ]
7-
820use super :: {
921 api:: prelude:: * ,
1022 context:: { BodyExt , DropContextService } ,
@@ -29,7 +41,6 @@ use std::{
2941 task:: { Context , Poll } ,
3042} ;
3143use thiserror:: Error ;
32-
3344/// Error type for failing to create a Client
3445#[ derive( Debug , Error ) ]
3546pub enum ClientInitError {
Original file line number Diff line number Diff line change 1- /*
2- * Note: This file is mostly autogenerated
3- */
1+ //!
2+ //! This file was *partly* auto-generated using OpenAPI server generator
3+ //! at <https://openapi-generator.tech/docs/generators/rust>
4+ //! on 2023-07-07
5+ //! using BOB's REST API schema, commit = ade0eadf1db7cda072cfab07dff7b1b57247e34a:
6+ //! <https://github.com/qoollo/bob/blob/928faef96ced755b75e3396b84febad1ecaf1dae/config-examples/openapi.yaml>
7+ //!
8+ //! This file was modified in order to get rid of the "swagger" crate, which brings
9+ //! a lot of unnecessary dependencies (for example, openssl, which can cause problems
10+ //! when creating docker images, even if we use only the http client). In addition,
11+ //! some refactoring was done to reduce the code size.
12+ //!
413
514use std:: collections:: HashMap ;
615
You can’t perform that action at this time.
0 commit comments