v2.0.0: doc: add swagger from code

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2024-03-17 21:54:48 +01:00
commit ee4e2e3e31
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
8 changed files with 502 additions and 3 deletions

View file

@ -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"`