Implement OpenAPI configuration and fetching
This commit is contained in:
26
src/gen/model/errorResponse.ts
Normal file
26
src/gen/model/errorResponse.ts
Normal 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;
|
||||
}
|
||||
|
15
src/gen/model/helloResponse.ts
Normal file
15
src/gen/model/helloResponse.ts
Normal 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
2
src/gen/model/models.ts
Normal file
@ -0,0 +1,2 @@
|
||||
export * from './errorResponse';
|
||||
export * from './helloResponse';
|
Reference in New Issue
Block a user