v2.0.0: doc: add swagger from code
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
da4f296b5e
commit
ee4e2e3e31
8 changed files with 502 additions and 3 deletions
|
|
@ -1,11 +1,13 @@
|
|||
package logins
|
||||
|
||||
type (
|
||||
// RequestLogin model info
|
||||
RequestLogin struct {
|
||||
Username string `json:"username"`
|
||||
Password string `json:"password"`
|
||||
}
|
||||
|
||||
// ResponseLogin model info
|
||||
ResponseLogin struct {
|
||||
Token string `json:"token"`
|
||||
PublicKey string `json:"publickey"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue