Release v1.3.0

This commit is contained in:
Guilherme Werner 2025-12-27 10:03:04 -03:00
parent 33d76d7a4e
commit dfa1dfb1c8
64 changed files with 3285 additions and 1329 deletions

View file

@ -1,9 +1,9 @@
/*
* Tribufu API
*
* REST API to access Tribufu services.
* API to access Tribufu services.
*
* The version of the OpenAPI document: 1.1.0
* The version of the OpenAPI document: 1.3.0
* Contact: contact@tribufu.com
* Generated by: https://openapi-generator.tech
*/
@ -13,17 +13,17 @@ use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct RevokeRequest {
#[serde(rename = "token", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub token: Option<Option<String>>,
#[serde(rename = "token_type_hint", skip_serializing_if = "Option::is_none")]
pub token_type_hint: Option<models::TokenHintType>,
#[serde(rename = "token", deserialize_with = "Option::deserialize")]
pub token: Option<String>,
#[serde(rename = "token_type_hint")]
pub token_type_hint: models::TokenHintType,
}
impl RevokeRequest {
pub fn new() -> RevokeRequest {
pub fn new(token: Option<String>, token_type_hint: models::TokenHintType) -> RevokeRequest {
RevokeRequest {
token: None,
token_type_hint: None,
token,
token_type_hint,
}
}
}