gateway

package
v0.0.0-...-eeb60d1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package gateway Maani. Gateway API Documentation

	 Schemes: http
	 BasePath: /
	 Version: 1.0.0
	 Host: localhost:8000

	 Consumes:
	 - application/json

	 Produces:
	 - application/json

	 Security:
	 - bearerAuth

	SecurityDefinitions:
      bearerAuth:
         type: apiKey
         name: Authorization
         in: header

swagger:meta

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DownloadFile

type DownloadFile struct {
	// in:formData
	Name string   `json:"name"`
	Tags []string `json:"tags"`
}

swagger:parameters download

type LogOutUserResponse

type LogOutUserResponse struct {
	Code int
}

swagger:response logout

type RefreshTokenResponse

type RefreshTokenResponse struct {
	models.UserTokenResponse
}

swagger:response refreshToken

type RegisterUserRequest

type RegisterUserRequest struct {
	// in:body
	Body models.UserRegisterParameters
}

swagger:parameters register

type RegisterUserResponse

type RegisterUserResponse struct {
	models.User
}

swagger:response registerUser

type SignInUserRequest

type SignInUserRequest struct {
	// in:body
	Body models.UserLoginCredentials
}

swagger:parameters login

type SignInUserResponse

type SignInUserResponse struct {
	// in:body
	Body models.UserTokenResponse
}

swagger:response Token

type UploadFile

type UploadFile struct {
	// in:formData
	// swagger:file
	File *bytes.Buffer `json:"files"`
	Tags []string      `json:"tags"`
}

swagger:parameters upload

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL