Bump openapi-generator to 7.7.0 (#14)

* bump: openapi-generator to 7.7.0

* fix: remove empty doc comments to silence clippy

* bump: remove unessecary patches fixed by the update

* bump: run generate.sh
This commit is contained in:
DerTiedemann
2024-07-21 02:18:01 +02:00
committed by GitHub
parent 169cbe48b0
commit 2c4cf7d817
263 changed files with 1978 additions and 2062 deletions

View File

@ -6,10 +6,10 @@
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CreateGroupGalleryRequest {
/// Name of the gallery.
#[serde(rename = "name")]
@ -20,16 +20,12 @@ pub struct CreateGroupGalleryRequest {
/// Whether the gallery is members only.
#[serde(rename = "membersOnly", skip_serializing_if = "Option::is_none")]
pub members_only: Option<bool>,
///
#[serde(rename = "roleIdsToView", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub role_ids_to_view: Option<Option<Vec<String>>>,
///
#[serde(rename = "roleIdsToSubmit", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub role_ids_to_submit: Option<Option<Vec<String>>>,
///
#[serde(rename = "roleIdsToAutoApprove", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub role_ids_to_auto_approve: Option<Option<Vec<String>>>,
///
#[serde(rename = "roleIdsToManage", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub role_ids_to_manage: Option<Option<Vec<String>>>,
}
@ -48,4 +44,3 @@ impl CreateGroupGalleryRequest {
}
}