Luís Murta 61b1891472
OpenAPI RESTful API code generator
This patch includes and uses the oapi-codegen tool to auto-generate go
boilerplate code, based on the OpenAPI spec.
2024-02-25 11:15:55 +00:00

15 lines
551 B
Go

package api
//go:generate go run github.com/deepmap/oapi-codegen/v2/cmd/oapi-codegen --config=api.cfg.yaml ../../docs/openapi.yaml
import "github.com/labstack/echo/v4"
type PersonalFinanceImpl struct{}
func (*PersonalFinanceImpl) GetBanks(ctx echo.Context) error {}
func (*PersonalFinanceImpl) GetBanksById(ctx echo.Context, bankId int64) error {}
func (*PersonalFinanceImpl) GetTransactions(ctx echo.Context, params GetTransactionsParams) error {}
func (*PersonalFinanceImpl) GetTransactionsById(ctx echo.Context, transactionId int64) error {}