Skip to content

Commit

Permalink
Frontend codegen.
Browse files Browse the repository at this point in the history
  • Loading branch information
lmarini committed Nov 8, 2023
1 parent 36193e0 commit 25313d5
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/openapi/v2/core/OpenAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type Config = {

export const OpenAPI: Config = {
BASE: '',
VERSION: '0.1.0',
VERSION: '2.0.0-beta.1',
WITH_CREDENTIALS: false,
CREDENTIALS: 'include',
TOKEN: undefined,
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/openapi/v2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export type { Repository } from './models/Repository';
export { RoleType } from './models/RoleType';
export type { SearchCriteria } from './models/SearchCriteria';
export type { SearchObject } from './models/SearchObject';
export type { Status } from './models/Status';
export type { ThumbnailOut } from './models/ThumbnailOut';
export type { UserAndRole } from './models/UserAndRole';
export type { UserAPIKeyOut } from './models/UserAPIKeyOut';
Expand All @@ -81,6 +82,7 @@ export { ListenersService } from './services/ListenersService';
export { LoginService } from './services/LoginService';
export { MetadataService } from './services/MetadataService';
export { ServiceService } from './services/ServiceService';
export { StatusService } from './services/StatusService';
export { ThumbnailsService } from './services/ThumbnailsService';
export { UsersService } from './services/UsersService';
export { VisualizationsService } from './services/VisualizationsService';
7 changes: 7 additions & 0 deletions frontend/src/openapi/v2/models/Status.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */

export type Status = {
version?: string;
}
22 changes: 22 additions & 0 deletions frontend/src/openapi/v2/services/StatusService.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { Status } from '../models/Status';
import type { CancelablePromise } from '../core/CancelablePromise';
import { request as __request } from '../core/request';

export class StatusService {

/**
* Add Thumbnail
* @returns Status Successful Response
* @throws ApiError
*/
public static addThumbnailApiV2StatusGet(): CancelablePromise<Status> {
return __request({
method: 'GET',
path: `/api/v2/status`,
});
}

}

0 comments on commit 25313d5

Please sign in to comment.