update many graphql field

This commit is contained in:
2024-10-12 16:34:43 +07:00
parent 244a6f3015
commit ba77bd4e1c
29 changed files with 466 additions and 56 deletions

View File

@@ -10,12 +10,12 @@ async function bootstrap() {
const config = new DocumentBuilder()
.setTitle('EPESS API')
.setDescription('API documentation for EPESS application')
.setVersion('1.0')
.setVersion('0.0.1')
.addBearerAuth()
.build();
const document = SwaggerModule.createDocument(app, config);
SwaggerModule.setup('api', app, document);
SwaggerModule.setup(process.env.SWAGGER_PATH ?? 'v1', app, document);
document.paths['/graphql'] = {
get: {