Documentation
¶
Overview ¶
Package docs SwagTest
Test Swagger
Schemes: https Version: 1.0.0 BasePath: /test/ Consumes: - application/json Produces: - application/json
swagger:meta
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Book ¶
type Book struct {
// min: 0
//
// example: 2021
Published int
// example: { "Name": "Tolkien" }
Author Author
}
Book holds all relevant information about a book.
At this moment, a book is only described by its publishing date and author.
example: { "Published": 2026, "Author": "Fred" }
default: { "Published": 1900, "Author": "Unknown" }
swagger:model
Click to show internal directories.
Click to hide internal directories.