Skip to content

Failure to execute make generate-swagger in go 1.22 #29664

Closed
@sillyguodong

Description

@sillyguodong

Description

After deleting v1_json.tmpl, I tried to execute make generate-swagger to re-generate the swagger file, but it failed.
image

Question

  1. Do I need to delete this file before re-generating it?
  2. If the file is not deleted and the command line is executed directly, it only returns: make: Nothing to be done for `generate-swagger'. However, I have actually added some new APIs and comment for them

Gitea Version

9dc8a63

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

build

Database

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/apiConcerns mainly the APItype/upstreamThis is an issue in one of Gitea's dependencies and should be reported there

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions