product-api

command module
v0.0.0-...-3d920ae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2020 License: MIT Imports: 12 Imported by: 0

README

Product API

Generating Swagger Documentation

Swagger documentation is generated from the code annotations inside the source using go-swagger.

Go swagger can be installed with the following command:

go get -u github.com/go-swagger/go-swagger/cmd/swagger

You can generate the documentation using the command:

swagger generate spec -o ./swagger.yaml --scan-models

After running the application:

go run main.go

Swagger documentation can be viewed using the ReDoc UI in your browser at http://localhost:9090/docs.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package classification of Product API Documentation for Product API Schemes: http BasePath: / Version: 1.0.0 Consumes: - application/json Produces: - application/json swagger:meta
Package classification of Product API Documentation for Product API Schemes: http BasePath: / Version: 1.0.0 Consumes: - application/json Produces: - application/json swagger:meta
sdk

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL