1
0

Added docs via swagger

This commit is contained in:
kolaente
2018-06-13 13:45:22 +02:00
parent 0652125c25
commit 4589f3b4bb
17 changed files with 410 additions and 48 deletions

View File

@ -0,0 +1,22 @@
package swagger
import "git.kolaente.de/konrad/list/models"
// not actually a response, just a hack to get go-swagger to include definitions
// of the various XYZOption structs
// parameterBodies
// swagger:response parameterBodies
type swaggerParameterBodies struct {
// in:body
UserLogin models.UserLogin
// in:body
ApiUserPassword models.ApiUserPassword
// in:body
List models.List
// in:body
ListItem models.ListItem
}