@ -2,6 +2,8 @@ import { OpenAPIV3_1 } from 'openapi-types';
|
|||||||
|
|
||||||
import { computeOpenApiPath } from 'src/engine/core-modules/open-api/utils/path.utils';
|
import { computeOpenApiPath } from 'src/engine/core-modules/open-api/utils/path.utils';
|
||||||
|
|
||||||
|
export const API_Version = 'v0.1';
|
||||||
|
|
||||||
export const baseSchema = (
|
export const baseSchema = (
|
||||||
schemaName: 'core' | 'metadata',
|
schemaName: 'core' | 'metadata',
|
||||||
serverUrl: string,
|
serverUrl: string,
|
||||||
@ -19,7 +21,7 @@ export const baseSchema = (
|
|||||||
name: 'AGPL-3.0',
|
name: 'AGPL-3.0',
|
||||||
url: 'https://github.com/twentyhq/twenty?tab=AGPL-3.0-1-ov-file#readme',
|
url: 'https://github.com/twentyhq/twenty?tab=AGPL-3.0-1-ov-file#readme',
|
||||||
},
|
},
|
||||||
version: '0.2.0',
|
version: API_Version,
|
||||||
},
|
},
|
||||||
// Testing purposes
|
// Testing purposes
|
||||||
servers: [
|
servers: [
|
||||||
|
|||||||
Reference in New Issue
Block a user