diff options
Diffstat (limited to 'rust')
-rw-r--r-- | rust/fatcat-api-spec/README.md | 2 | ||||
-rw-r--r-- | rust/fatcat-api-spec/api.yaml | 2 | ||||
-rw-r--r-- | rust/fatcat-api-spec/api/swagger.yaml | 1 | ||||
-rw-r--r-- | rust/fatcat-api-spec/examples/client.rs | 2 |
4 files changed, 4 insertions, 3 deletions
diff --git a/rust/fatcat-api-spec/README.md b/rust/fatcat-api-spec/README.md index 1a8125d5..db4730fa 100644 --- a/rust/fatcat-api-spec/README.md +++ b/rust/fatcat-api-spec/README.md @@ -13,7 +13,7 @@ To see how to make this your own, look here: [README](https://github.com/swagger-api/swagger-codegen/blob/master/README.md) - API version: 0.1.0 -- Build date: 2018-11-13T06:41:46.913Z +- Build date: 2018-11-13T20:46:32.121Z This autogenerated project defines an API crate `fatcat` which contains: * An `Api` trait defining the API in Rust. diff --git a/rust/fatcat-api-spec/api.yaml b/rust/fatcat-api-spec/api.yaml index 4027ccf4..feaa87cd 100644 --- a/rust/fatcat-api-spec/api.yaml +++ b/rust/fatcat-api-spec/api.yaml @@ -7,7 +7,7 @@ info: version: 0.1.0 schemes: [https] basePath: /v0 -#host: api.fatcat.wiki +host: api.fatcat.wiki consumes: - application/json produces: diff --git a/rust/fatcat-api-spec/api/swagger.yaml b/rust/fatcat-api-spec/api/swagger.yaml index 71d7fa78..ded102e6 100644 --- a/rust/fatcat-api-spec/api/swagger.yaml +++ b/rust/fatcat-api-spec/api/swagger.yaml @@ -5,6 +5,7 @@ info: \ and file metadata" version: "0.1.0" title: "fatcat" +host: "api.fatcat.wiki" basePath: "/v0" tags: - name: "containers" diff --git a/rust/fatcat-api-spec/examples/client.rs b/rust/fatcat-api-spec/examples/client.rs index 43f002fc..cb025d5c 100644 --- a/rust/fatcat-api-spec/examples/client.rs +++ b/rust/fatcat-api-spec/examples/client.rs @@ -65,7 +65,7 @@ fn main() { ]).required(true) .index(1), ).arg(Arg::with_name("https").long("https").help("Whether to use HTTPS or not")) - .arg(Arg::with_name("host").long("host").takes_value(true).default_value("localhost").help("Hostname to contact")) + .arg(Arg::with_name("host").long("host").takes_value(true).default_value("api.fatcat.wiki").help("Hostname to contact")) .arg(Arg::with_name("port").long("port").takes_value(true).default_value("8080").help("Port to contact")) .get_matches(); |