refactor: v2 docs (#14446)
* refactor: group endpoints by tags * refactor: remove swagger header * feat: managed users docs * feat: gcal docs * feat: provider docs * feat: managed users docs * fix: event-types locations docs * refactor: schedules remove forAtom logic - return just for atoms * feat: schedules docs * feat: schedules docs * fix: me tests * fix: schedules tests * feat: me docs * feat: calendar busy times docs * feat: calendar connected and destination calendars docs * feat: some docs for bookings endpoints * fix: add OAuth id when updating user email + disallow updating username * fix: creating user with same e-mail results in 500 * fix: me e2e tests * fix: event-types e2e tests * fix: oauth-client-users e2e tests * fix: some bookings e2e * revert: re-add name for create update user * fix: schedule create isDefault required * lock file from main * lock file from main * comment broken bookings tests * fix: connected calendars output type * fix: connected calendars output type
This commit is contained in:
1 parent
880ba8f1dd
commit
8382ebc057
68 files changed
+3608
-757
No files matched your search
@@ -1,6 +1,10 @@
|
||||
import { getEnv } from "@/env";
|
||||
import { Controller, Get, Version, VERSION_NEUTRAL } from "@nestjs/common";
|
||||
import { ApiTags as DocsTags, ApiExcludeController as DocsExcludeController } from "@nestjs/swagger";
|
||||
|
||||
@Controller()
|
||||
@DocsTags("Health - development only")
|
||||
@DocsExcludeController(getEnv("NODE_ENV") === "production")
|
||||
export class AppController {
|
||||
@Get("health")
|
||||
@Version(VERSION_NEUTRAL)
|
||||
|
||||
Reference in new issue
Block a user