Discover Packages
github.com/andoma-go/gin-swagger
example
multiple
api
v2
package
Version:
v1.6.0
Opens a new window with list of versions in this module.
Published: Jul 28, 2023
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
@Summary Get a list of books in the the store
@Description get string by ID
@Accept json
@Produce json
@Success 200 {array} Book "ok"
@Router /books [get]
type Book struct {
ID int `json:"id,omitempty"`
Title string `json:"title"`
Author string `json:"author"`
Year *uint16 `json:"year"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.