package
0.0.0-20240208034833-879bf7ce2d57
Repository: https://github.com/johnman67112/dexjoe.git
Documentation: pkg.go.dev
# Functions
DeletePokemon godoc @Summary Deletes a Pokemon @Description With number delete a Pokemon @Tags Pokemon @Accept json @Produce json @Success 200 {object} domain.Pokemon @Failure 400 {object} error @Router /pokemon [delete].
EditPokemon godoc @Summary Edit a Pokemon @Description With params edit a Pokemon @Tags Pokemon @Accept json @Produce json @Param Pokemon body domain.Pokemon true "Pokemon Model" @Success 200 {object} domain.Pokemon @Failure 400 {object} error @Router /pokemon [patch].
GetOnePokemon godoc @Summary Show one pokemon @Description Route to show one pokemon with number @Tags pokemon @Accept json @Produce json @Success 200 {object} domain.Pokemon @Failure 400 {object} error @Router /pokemon [get].
GetPokemon godoc @Summary Show all pokemon @Description Route to show all pokemon @Tags pokemon @Accept json @Produce json @Success 200 {object} []domain.Pokemon @Failure 400 {object} error @Router /pokemon [get].
RegisterPokemon godoc @Summary Register a new Pokemon @Description With params register a new Pokemon @Tags Pokemon @Accept json @Produce json @Param Pokemon body domain.Pokemon true "Pokemon Model" @Success 200 {object} domain.Pokemon @Failure 400 {object} error @Router /pokemon [post].
No description provided by the author
ShowIndex godoc @Summary Show index page @Description Route to show index @Tags front @Accept json @Produce json @Success 200 {object} string @Failure 400 {object} error @Router /index [get].