From f8737defc6bc9cdbc2ba90941efe3101b0bb8bb2 Mon Sep 17 00:00:00 2001 From: Cyborus Date: Wed, 10 Jan 2024 22:42:05 -0500 Subject: [PATCH] format --- generator/src/openapi.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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, - } + }, }