Skip to content

Commit

Permalink
api: re-enable autoswag since upstream bug is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
altergui committed Jul 8, 2024
1 parent 271b3ce commit f79d57b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions api/api.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
package api

////// Disabled autoswag due to https://github.com/swaggo/swag/issues/1267
////// TODO: re-enable when a fixed swaggo/swag is released
////// and remove the workaround done by @selankon on docs/models/models.go
////go:generate go run go.vocdoni.io/dvote/api/autoswag
//go:generate go run github.com/swaggo/swag/cmd/[email protected] fmt
//go:generate go run go.vocdoni.io/dvote/api/autoswag
//go:generate go run github.com/swaggo/swag/cmd/[email protected] fmt

import (
"fmt"
Expand Down

0 comments on commit f79d57b

Please sign in to comment.