DEV Community

Discussion on: 📖 Build a RESTful API on Go: Fiber, PostgreSQL, JWT and Swagger docs in isolated Docker containers

Collapse
 
narven profile image
Pedro Luz

Another useful thing from dtos:

  • is that you can reference them in you schema for swagger.
  • also if you work with a monorepo with a frontend project, you can generate Typescript interfaces, so that the frontend developer can use them.