api

package
v0.0.0-...-f597de0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package api for the application.

Documentation nursery API.

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

 components:
   securitySchemes:
     cookieAuth:
       type: jwtToken
       in: cookie
       name: toekn  # cookie name

 Consumes:
 - application/json

 Produces:
 - application/json

 Security:
 - basic

SecurityDefinitions:
basic:
  type: basic

swagger:meta

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginRequestWrapper

type LoginRequestWrapper struct {
	// in:body
	Body rest.LoginRequest
}

LoginRequestWrapper wraps LoginRequest for documenting purpose swagger:parameters LoginRequest

type LoginResponseWrapper

type LoginResponseWrapper struct {
	// in:body
	Body rest.LoginResponse
}

LoginResponseWrapper wraps LoginResponse for documenting purpose swagger:response LoginRequest

Jump to

Keyboard shortcuts

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