Skip to content

Commit

Permalink
8749 invalid openapi schema (#9156)
Browse files Browse the repository at this point in the history
  • Loading branch information
martmull authored Dec 20, 2024
1 parent ded0a68 commit 94136d9
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,18 @@ export const baseSchema = (
serverUrl: string,
): OpenAPIV3_1.Document => {
return {
openapi: '3.0.3',
openapi: '3.1.1',
info: {
title: 'Twenty Api',
description: `This is a **Twenty REST/API** playground based on the **OpenAPI 3.0 specification**.`,
termsOfService: 'https://github.com/twentyhq/twenty?tab=coc-ov-file',
description: `This is a **Twenty REST/API** playground based on the **OpenAPI 3.1 specification**.`,
termsOfService:
'https://github.com/twentyhq/twenty?tab=coc-ov-file#readme',
contact: {
email: '[email protected]',
},
license: {
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=License-1-ov-file#readme',
},
version: API_Version,
},
Expand Down

0 comments on commit 94136d9

Please sign in to comment.