twenty/packages/twenty-server
martmull e3e42be723
Add generate openapi schema for rest api (#2923)
* Add generate openapi schema for rest api

* Split method in utils

* Add paramters

* Add error response

* Update description of filter and order by

* Add get/id routes

* Add delete route

* Use components

* Fix Typo

* Add tags

* Add create query

* Add required field

* Add update query

* Add body request example

* Add 201 on create request

* Add servers

* Fix failing test

* Add open-api endpoint

* Update description

* Return base schema if no auth

* Code review returns

* Use open-api/types

* Fix tag

* Use components for parameters

* Improve response examples

* Improve axios error message

* Fix tests
2023-12-13 14:58:34 +01:00
..
@types Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00
patches Update scripts and documentation to use nx and new monorepo architecture (#2912) 2023-12-11 10:54:57 +01:00
scripts 2893 add data wrapper for mysql (#2970) 2023-12-13 14:56:52 +01:00
src Add generate openapi schema for rest api (#2923) 2023-12-13 14:58:34 +01:00
test Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00
.env.example Fix docker install (#2925) 2023-12-11 13:36:24 +01:00
.env.test Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00
.eslintrc.js Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00
.gitignore Update scripts and documentation to use nx and new monorepo architecture (#2912) 2023-12-11 10:54:57 +01:00
.prettierignore Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00
.prettierrc Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00
jest.config.ts Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00
nest-cli.json Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00
package.json Add generate openapi schema for rest api (#2923) 2023-12-13 14:58:34 +01:00
tsconfig.build.json Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00
tsconfig.json Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00