Skip to content

Generated API code no longer compiles after upgrade form 1.12.4 to 1.13.2 #1168

@danielbprice

Description

@danielbprice

To make a long story short, my code doesn't compile after the upgrade (after many releases which were drama free). I have put up a demonstration of the problem here:

https://github.com/danielbprice/oapi-codegen-problem

I found that by changing application/problem+json to application/json in my openapi.yaml file, the problem goes away, so I suspect it's related in some way to changes there. Thanks!

Possibly this could be related to what the user in #1146 was talking about. Hopefully my reproducible test case will help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions