Discover Packages
github.com/bonagin/gin-swagger
example
multiple
api
v1
package
Version:
v0.0.0-...-5a437e0
Opens a new window with list of versions in this module.
Published: Feb 21, 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.