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
*/
@ -15,14 +15,14 @@ use serde::{Deserialize, Serialize};
pub struct AuthorizeRequest {
#[serde(rename = "response_type", skip_serializing_if = "Option::is_none")]
pub response_type: Option<models::ResponseType>,
#[serde(rename = "client_id", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub client_id: Option<Option<String>>,
#[serde(rename = "client_id")]
pub client_id: String,
#[serde(rename = "code_challenge", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub code_challenge: Option<Option<String>>,
#[serde(rename = "code_challenge_method", skip_serializing_if = "Option::is_none")]
pub code_challenge_method: Option<models::CodeChallengeMethod>,
#[serde(rename = "redirect_uri", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub redirect_uri: Option<Option<String>>,
#[serde(rename = "redirect_uri", deserialize_with = "Option::deserialize")]
pub redirect_uri: Option<String>,
#[serde(rename = "scope", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub scope: Option<Option<String>>,
#[serde(rename = "state", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
@ -30,13 +30,13 @@ pub struct AuthorizeRequest {
}
impl AuthorizeRequest {
pub fn new() -> AuthorizeRequest {
pub fn new(client_id: String, redirect_uri: Option<String>) -> AuthorizeRequest {
AuthorizeRequest {
response_type: None,
client_id: None,
client_id,
code_challenge: None,
code_challenge_method: None,
redirect_uri: None,
redirect_uri,
scope: None,
state: None,
}