You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Iris strict server code without content is broken #1407
$ git status
HEAD detached at 4b3f027
nothing to commit, working tree clean
$ (cd internal/test ; go generate ./strict-server-response/... && go test ./stri
ct-server-response/...)
? github.com/deepmap/oapi-codegen/v2/internal/test/strict-server-response [no test files]
ok github.com/deepmap/oapi-codegen/v2/internal/test/strict-server-response/chi/pkg1 (cached)
? github.com/deepmap/oapi-codegen/v2/internal/test/strict-server-response/chi/pkg2 [no test files]
? github.com/deepmap/oapi-codegen/v2/internal/test/strict-server-response/echo/pkg2 [no test files]
ok github.com/deepmap/oapi-codegen/v2/internal/test/strict-server-response/echo/pkg1 (cached)
? github.com/deepmap/oapi-codegen/v2/internal/test/strict-server-response/fiber/pkg2 [no test files]
ok github.com/deepmap/oapi-codegen/v2/internal/test/strict-server-response/fiber/pkg1 (cached)
? github.com/deepmap/oapi-codegen/v2/internal/test/strict-server-response/generator [no test files]
? github.com/deepmap/oapi-codegen/v2/internal/test/strict-server-response/gin/pkg2 [no test files]
ok github.com/deepmap/oapi-codegen/v2/internal/test/strict-server-response/gin/pkg1 (cached)
? github.com/deepmap/oapi-codegen/v2/internal/test/strict-server-response/gorilla/pkg2 [no test files]
ok github.com/deepmap/oapi-codegen/v2/internal/test/strict-server-response/gorilla/pkg1 (cached)
# github.com/deepmap/oapi-codegen/v2/internal/test/strict-server-response/iris/pkg1
strict-server-response/iris/pkg1/pkg1.gen.go:610:6: ctx.Response undefined (type *"github.com/kataras/iris/v12/context".Context has no field or method Response)
strict-server-response/iris/pkg1/pkg1.gen.go:611:6: ctx.Response undefined (type *"github.com/kataras/iris/v12/context".Context has no field or method Response)
strict-server-response/iris/pkg1/pkg1.gen.go:635:6: ctx.Response undefined (type *"github.com/kataras/iris/v12/context".Context has no field or method Response)
strict-server-response/iris/pkg1/pkg1.gen.go:636:6: ctx.Response undefined (type *"github.com/kataras/iris/v12/context".Context has no field or method Response)
strict-server-response/iris/pkg1/pkg1.gen.go:651:6: ctx.Response undefined (type *"github.com/kataras/iris/v12/context".Context has no field or method Response)
strict-server-response/iris/pkg1/pkg1.gen.go:652:6: ctx.Response undefined (type *"github.com/kataras/iris/v12/context".Context has no field or method Response)
strict-server-response/iris/pkg1/pkg1.gen.go:671:6: ctx.Response undefined (type *"github.com/kataras/iris/v12/context".Context has no field or method Response)
strict-server-response/iris/pkg1/pkg1.gen.go:672:6: ctx.Response undefined (type *"github.com/kataras/iris/v12/context".Context has no field or method Response)
FAIL github.com/deepmap/oapi-codegen/v2/internal/test/strict-server-response/iris/pkg1 [build failed]
? github.com/deepmap/oapi-codegen/v2/internal/test/strict-server-response/iris/pkg2 [no test files]
FAIL
$
Activity
Test code for oapi-codegen#1407
ShouheiNishi commentedon Dec 27, 2023
Test code is https://github.com/ShouheiNishi/oapi-codegen/tree/4b3f027dd649d0219a441953307d9bdd7a85edaa/internal/test/strict-server-response.