diff --git a/generator/src/openapi.rs b/generator/src/openapi.rs index effe561..3301edb 100644 --- a/generator/src/openapi.rs +++ b/generator/src/openapi.rs @@ -296,7 +296,7 @@ pub enum SecurityType { #[serde(flatten)] flow: OAuth2Flow, scopes: BTreeMap, - } + }, } #[derive(serde::Deserialize, Debug, PartialEq)] @@ -312,13 +312,13 @@ pub enum OAuth2Flow { Implicit { authorization_url: Url, }, - Password{ + Password { token_url: Url, }, - Application{ + Application { token_url: Url, }, - AccessCode{ + AccessCode { authorization_url: Url, token_url: Url, }, @@ -334,5 +334,5 @@ pub enum MaybeRef { Ref { #[serde(rename = "$ref")] _ref: String, - } + }, }