FIX: removed connection test from external docs

This commit is contained in:
Gabriel Rosa
2023-02-16 12:07:47 -03:00
parent 28578d3aa8
commit a4ff07a285
5 changed files with 6 additions and 454 deletions
+1
View File
@@ -27,6 +27,7 @@ async function bootstrap() {
app.use(helmet());
configureSwagger(app);
await app.listen(3333);
if (process.env.KILL_AFTER_START) await app.close();
}
function configureSwagger(app: INestApplication) {
+1 -1
View File
@@ -137,7 +137,7 @@ export class ICatalogAllRequest {
@ApiPropertyOptional({
description:
'Campo do data asset para usar na ordenação. Padrão: `created_at`',
'Campo do data asset para usar na ordenação. Padrão: `created_at` ',
})
sort_by: string;
@@ -26,7 +26,9 @@ import {
import { DadosferaLogger } from '@dadosfera/dadosfera-logs';
import { Authenticated } from 'src/decorators/authentication.decorator';
import { GrpcToHttpExceptionFilter } from 'src/error/grpc-to-http-exception.filter';
import { ApiInternalOnlyController } from 'src/decorators/swagger.decorator';
@ApiInternalOnlyController()
@ApiTags('Connection Test')
@Controller('connection-test')
@UseFilters(new GrpcToHttpExceptionFilter())