Install golang-github-emicklei-go-restful-swagger12-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-github-emicklei-go-restful-swagger12-dev
Description:
Swagger 1.2 extension to the go-restful package
Go-restful is a package for building REST-style Web Services using Google Go. REST asks developers to use HTTP methods explicitly and in a way that's consistent with the protocol definition. This basic REST design principle establishes a one-to-one mapping between create, read, update, and delete (CRUD) operations and HTTP methods. . This package provides Swagger UI 1.2 support for go-restful.
Homepage: https://github.com/emicklei/go-restful-swagger12
Version: 1.0.1-1
Section: universe/devel