Skip to content
Snippets Groups Projects

chore: abstract dtos to encompass a wider range of use cases and fix for out of band proof requests

Closed Boyan Tsolov requested to merge core-dtos into main
Compare and Show latest version
2 files
+ 3
3
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 3
1
@@ -3,7 +3,7 @@
* This is only a minimal backend to get started.
*/
import { Logger } from "@nestjs/common";
import { Logger, ValidationPipe } from "@nestjs/common";
import { NestFactory } from "@nestjs/core";
import { AppModule } from "./app/app.module";
@@ -49,6 +49,8 @@ async function bootstrap() {
fs.writeFileSync("./gateway-swagger.json", JSON.stringify(document));
SwaggerModule.setup("api", app, document);
app.useGlobalPipes(new ValidationPipe());
const port = gatewayConfig.httpPort || 3000;
await app.listen(port, gatewayConfig.host);
Loading