Skip to content

Commit

Permalink
Merge with develop
Browse files Browse the repository at this point in the history
  • Loading branch information
brendan-oconnell committed Sep 17, 2024
2 parents af41779 + 6d35844 commit 6d596c9
Show file tree
Hide file tree
Showing 7 changed files with 1,071 additions and 118 deletions.
913 changes: 913 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

31 changes: 23 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG MUSL_IMAGE=clux/muslrust:1.80.1-stable
ARG MUSL_IMAGE=clux/muslrust:1.81.0-stable

FROM ${MUSL_IMAGE} as build

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG RUST_VERSION=1.80.1
ARG RUST_VERSION=1.81.0

FROM rust:${RUST_VERSION}

Expand Down
2 changes: 1 addition & 1 deletion thoth-export-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ futures = "0.3.30"
lazy_static = "1.5.0"
log = "0.4.20"
marc = { version = "3.1.1", features = ["xml"] }
paperclip = { version = "0.8.2", features = ["actix-base", "actix4", "uuid1", "v2"] }
paperclip = { version = "0.9.1", features = ["actix4", "uuid1", "v3"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
uuid = { version = "1.10.0", features = ["serde"] }
Expand Down
4 changes: 3 additions & 1 deletion thoth-export-server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ struct ApiConfig {
impl ApiConfig {
pub fn new(public_url: String) -> Self {
Self {
api_schema: format!("{public_url}/swagger.json"),
api_schema: format!("{public_url}/openapi.json"),
}
}
}
Expand Down Expand Up @@ -82,6 +82,7 @@ pub async fn start_server(
"Obtain Thoth metadata records in various formats and platform specifications"
.to_string(),
),
terms_of_service: Some("https://thoth.pub/policies/terms-thoth-free".to_string()),
contact: Some(Contact {
name: Some("Thoth Support".to_string()),
url: Some("https://thoth.pub".to_string()),
Expand All @@ -107,6 +108,7 @@ pub async fn start_server(
.configure(platform::route)
.configure(specification::route)
.with_json_spec_at("/swagger.json")
.with_json_spec_v3_at("/openapi.json")
.build()
})
.workers(threads)
Expand Down
Loading

0 comments on commit 6d596c9

Please sign in to comment.