Discover Packages
github.com/skynet-core/gin-swagger/v2
example
multiple
api
v2
package
Version:
v2.0.0-rc3
Opens a new window with list of versions in this module.
Published: Nov 9, 2024
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.