Implement OpenAPI configuration and fetching

This commit is contained in:
2025-01-25 10:28:15 +01:00
parent db63f46f5d
commit f5094cad60
24 changed files with 878 additions and 6 deletions

View File

@ -0,0 +1,26 @@
/**
* swisssign-challenge - dlmw
*
* Contact: dylan@dlmw.ch
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface ErrorResponse {
/**
* Human-readable error message
*/
message: string;
/**
* Machine-readable error code
*/
code: number;
/**
* Additional error details when available
*/
details?: object;
}

View File

@ -0,0 +1,15 @@
/**
* swisssign-challenge - dlmw
*
* Contact: dylan@dlmw.ch
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface HelloResponse {
value?: string;
}

2
src/gen/model/models.ts Normal file
View File

@ -0,0 +1,2 @@
export * from './errorResponse';
export * from './helloResponse';