Back to godoc.org
github.com/go-openapi/runtime / internal / testing

package testing

v0.19.19
Latest Go to latest
Published: Jun 17, 2020 | License: Apache-2.0 | Module: github.com/go-openapi/runtime

Index

Constants

const InvalidJSON = "" /* 1890 byte string literal not displayed */

InvalidJSON invalid swagger 2.0 spec in JSON

const PetStore20 = "" /* 6008 byte string literal not displayed */

PetStore20 json doc for swagger 2.0 pet store

const PetStore20YAML = "" /* 3755 byte string literal not displayed */

PetStore20YAML yaml doc for swagger 2.0 pet store

const RootPetStore20 = "" /* 5799 byte string literal not displayed */

RootPetStore20 json doc for swagger 2.0 pet store at /

Variables

var InvalidJSONMessage = json.RawMessage([]byte(InvalidJSON))

InvalidJSONMessage json raw message for invalid json

var PetStoreJSONMessage = json.RawMessage([]byte(PetStore20))

PetStoreJSONMessage json raw message for Petstore20

var RootPetStoreJSONMessage = json.RawMessage([]byte(RootPetStore20))

RootPetStoreJSONMessage json raw message for Petstore20

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier