feat(frontend/openapi): Generated Openapi client for frontend

Generated The API client using the openapi.json file generated from the
services
This commit is contained in:
Maieul BOYER 2025-11-10 17:06:10 +01:00 committed by Maix0
parent 08c910c193
commit e8b0b7e310
78 changed files with 6075 additions and 0 deletions

View file

@ -0,0 +1,75 @@
/* tslint:disable */
/* eslint-disable */
/**
* @fastify/swagger
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 9.6.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { mapValues } from '../runtime';
/**
*
* @export
* @interface LoginRequest
*/
export interface LoginRequest {
/**
*
* @type {string}
* @memberof LoginRequest
*/
name: string;
/**
*
* @type {string}
* @memberof LoginRequest
*/
password: string;
}
/**
* Check if a given object implements the LoginRequest interface.
*/
export function instanceOfLoginRequest(value: object): value is LoginRequest {
if (!('name' in value) || value['name'] === undefined) return false;
if (!('password' in value) || value['password'] === undefined) return false;
return true;
}
export function LoginRequestFromJSON(json: any): LoginRequest {
return LoginRequestFromJSONTyped(json, false);
}
export function LoginRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginRequest {
if (json == null) {
return json;
}
return {
'name': json['name'],
'password': json['password'],
};
}
export function LoginRequestToJSON(json: any): LoginRequest {
return LoginRequestToJSONTyped(json, false);
}
export function LoginRequestToJSONTyped(value?: LoginRequest | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'name': value['name'],
'password': value['password'],
};
}