@@ -123,22 +123,22 @@ pub enum Method {
123
123
Other = 9 , //This is specified as "*" in the OpenAPI spec
124
124
}
125
125
126
- #[ derive( Serialize , Deserialize , Debug , PartialEq , Eq , Hash , Clone ) ]
127
- #[ serde( rename_all = "UPPERCASE" ) ]
128
- #[ repr( C ) ]
129
- pub enum Authentication {
130
- Jwt = 0 ,
131
- Basic = 1 ,
132
- Oauth = 2 ,
133
- Oidc = 3 ,
134
- ApiKey = 4 ,
135
- Session = 5 ,
136
- Mtls = 6 ,
137
- Saml = 7 ,
138
- Ldap = 8 ,
139
- Form = 9 ,
140
- Other = 10 ,
141
- }
126
+ // #[derive(Serialize, Deserialize, Debug, PartialEq, Eq, Hash, Clone)]
127
+ // #[serde(rename_all = "UPPERCASE")]
128
+ // #[repr(C)]
129
+ // pub enum Authentication {
130
+ // Jwt = 0,
131
+ // Basic = 1,
132
+ // Oauth = 2,
133
+ // Oidc = 3,
134
+ // ApiKey = 4,
135
+ // Session = 5,
136
+ // Mtls = 6,
137
+ // Saml = 7,
138
+ // Ldap = 8,
139
+ // Form = 9,
140
+ // Other = 10,
141
+ // }
142
142
143
143
#[ derive( Serialize , Deserialize , Debug , Hash , PartialEq , Eq , Clone , Default ) ]
144
144
pub struct Endpoint {
@@ -150,14 +150,14 @@ pub struct Endpoint {
150
150
pub path : Option < String > ,
151
151
pub operation_name : String ,
152
152
pub resource_name : String ,
153
- #[ serde( default ) ]
154
- pub request_body_type : Option < Vec < String > > ,
155
- #[ serde( default ) ]
156
- pub response_body_type : Option < Vec < String > > ,
157
- #[ serde( default ) ]
158
- pub response_code : Option < Vec < i32 > > ,
159
- #[ serde( default ) ]
160
- pub authentication : Option < Vec < Authentication > > ,
161
- #[ serde( default ) ]
162
- pub metadata : Option < serde_json:: Value > ,
153
+ // #[serde(default)]
154
+ // pub request_body_type: Option<Vec<String>>,
155
+ // #[serde(default)]
156
+ // pub response_body_type: Option<Vec<String>>,
157
+ // #[serde(default)]
158
+ // pub response_code: Option<Vec<i32>>,
159
+ // #[serde(default)]
160
+ // pub authentication: Option<Vec<Authentication>>,
161
+ // #[serde(default)]
162
+ // pub metadata: Option<serde_json::Value>,
163
163
}
0 commit comments