Skip to content

Commit

Permalink
OpenAPI spec generation for vanity domains (#31655)
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 86e2f7383743357688f8ef394b09e2409fbd111d
  • Loading branch information
atrakh authored and Convex, Inc. committed Nov 21, 2024
1 parent e37886c commit b73daf2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/common/src/http/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ use tower_http::cors::{
CorsLayer,
};
use url::Url;
use utoipa::ToSchema;

use self::metrics::log_http_request;
use crate::{
Expand Down Expand Up @@ -847,7 +848,7 @@ pub async fn stats_middleware<RM: RouteMapper>(

pub struct InstanceNameExt(pub String);

#[derive(Copy, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)]
#[derive(ToSchema, Copy, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub enum RequestDestination {
ConvexCloud,
Expand Down

0 comments on commit b73daf2

Please sign in to comment.