From 8478e1d057053216410dccc03b3aff9a73a25968 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 31 Jul 2024 21:06:35 +0900 Subject: feat(backend): enable `nullable-type` option of `oapi-codegen` for strict handling of nullable OpenAPI types --- backend/go.mod | 1 + 1 file changed, 1 insertion(+) (limited to 'backend/go.mod') diff --git a/backend/go.mod b/backend/go.mod index eba1726..6e4a34a 100644 --- a/backend/go.mod +++ b/backend/go.mod @@ -9,6 +9,7 @@ require ( github.com/jackc/pgx/v5 v5.5.5 github.com/labstack/echo/v4 v4.12.0 github.com/oapi-codegen/echo-middleware v1.0.2 + github.com/oapi-codegen/nullable v1.1.0 github.com/oapi-codegen/oapi-codegen/v2 v2.3.0 github.com/oapi-codegen/runtime v1.1.1 github.com/sqlc-dev/sqlc v1.26.0 -- cgit v1.2.3-70-g09d2