Skip to content

Commit

Permalink
Constant api version (twentyhq#5248)
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanlaschke committed May 2, 2024
1 parent 9a116b0 commit 05a90d6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { OpenAPIV3_1 } from 'openapi-types';

import { computeOpenApiPath } from 'src/engine/core-modules/open-api/utils/path.utils';

export const API_Version = 'v0.1';

export const baseSchema = (
schemaName: 'core' | 'metadata',
serverUrl: string,
Expand All @@ -19,7 +21,7 @@ export const baseSchema = (
name: 'AGPL-3.0',
url: 'https://github.com/twentyhq/twenty?tab=AGPL-3.0-1-ov-file#readme',
},
version: '0.2.0',
version: API_Version,
},
// Testing purposes
servers: [
Expand Down

0 comments on commit 05a90d6

Please sign in to comment.