swagger

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package Swagger go-blog-cors

These endpoints are provided as a proof of concept for CORS issues.

 Schemes: http, https
 Host: localhost:8080
 BasePath: /
 Version: 1.0.0
 License: MIT http://opensource.org/licenses/MIT
 Contact: antonio-alexander<[email protected]> http://antonio-alexander.dev

 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 AuthorizePostParams

type AuthorizePostParams struct{}

swagger:parameters cors authorize

type AuthorizePostResponseError

type AuthorizePostResponseError struct {
	// in:body
	Body internal.Error
}

swagger:response AuthorizePostResponseError

type AuthorizePostResponseNotAuthorized

type AuthorizePostResponseNotAuthorized struct {
	// in:body
	Body internal.Error
}

swagger:response AuthorizePostResponseNotAuthorized

type AuthorizePostResponseOK

type AuthorizePostResponseOK struct {
	// in:body
	Body internal.Message
}

swagger:response AuthorizePostResponseOK

type HelloWorldGetParams

type HelloWorldGetParams struct{}

swagger:parameters hello_world

type HelloWorldGetResponseOk

type HelloWorldGetResponseOk struct {
	// in:body
	Body internal.Message
}

swagger:response HelloWorldGetResponseOk

type ProxyGetParams

type ProxyGetParams struct {
	// in: query
	Endpoint string `json:"endpoint"`
}

swagger:parameters cors proxy_get

type ProxyGetResponseError

type ProxyGetResponseError struct {
	// in:body
	Body internal.Error
}

swagger:response ProxyGetResponseError

type ProxyGetResponseOK

type ProxyGetResponseOK struct {
}

swagger:response ProxyGetResponseOK

type ProxyPostParams

type ProxyPostParams struct {
	// in: query
	Endpoint string `json:"endpoint"`
}

swagger:parameters cors proxy_post

type ProxyPostResponseError

type ProxyPostResponseError struct {
	// in:body
	Body internal.Error
}

swagger:response ProxyPostResponseError

type ProxyPostResponseOK

type ProxyPostResponseOK struct {
}

swagger:response ProxyPostResponseOK

Jump to

Keyboard shortcuts

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