diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-09-18 20:05:39 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-09-18 20:36:06 -0700 |
commit | c0ad5f80c13fc66240a17e59dfff559c6967aac7 (patch) | |
tree | 2e8a0174bd2afda64362c7c9b07e88ce35997a2c /rust/fatcat-openapi/src/server.rs | |
parent | bba9af573a7e6098e4fec13892e939e395c8d62f (diff) | |
download | fatcat-c0ad5f80c13fc66240a17e59dfff559c6967aac7.tar.gz fatcat-c0ad5f80c13fc66240a17e59dfff559c6967aac7.zip |
rust codegen (with rustfix, compiles 2018 edition)
Diffstat (limited to 'rust/fatcat-openapi/src/server.rs')
-rw-r--r-- | rust/fatcat-openapi/src/server.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rust/fatcat-openapi/src/server.rs b/rust/fatcat-openapi/src/server.rs index 128b6933..539d5d5b 100644 --- a/rust/fatcat-openapi/src/server.rs +++ b/rust/fatcat-openapi/src/server.rs @@ -12,12 +12,12 @@ use self::iron::url::percent_encoding::percent_decode; use self::iron::{modifiers, status, BeforeMiddleware}; use self::router::Router; use self::urlencoded::UrlEncodedQuery; +use crate::mimetypes; use futures::future; use futures::Future; use futures::{stream, Stream}; use hyper; use hyper::header::{ContentType, Headers}; -use mimetypes; use serde_json; @@ -35,8 +35,8 @@ use swagger::auth::{AuthData, Scopes}; use swagger::{ApiError, Context, XSpanId}; #[allow(unused_imports)] -use models; -use { +use crate::models; +use crate::{ AcceptEditgroupResponse, Api, AuthCheckResponse, AuthOidcResponse, CreateAuthTokenResponse, CreateContainerAutoBatchResponse, CreateContainerResponse, CreateCreatorAutoBatchResponse, CreateCreatorResponse, CreateEditgroupAnnotationResponse, CreateEditgroupResponse, CreateFileAutoBatchResponse, CreateFileResponse, CreateFilesetAutoBatchResponse, CreateFilesetResponse, CreateReleaseAutoBatchResponse, CreateReleaseResponse, CreateWebcaptureAutoBatchResponse, CreateWebcaptureResponse, CreateWorkAutoBatchResponse, CreateWorkResponse, DeleteContainerEditResponse, |