openapi-generator/samples/client/petstore-security-test/go
wing328 394840e352 Add more security samples (#3344)
* add line break test to petstore-security-test.yaml

* add objc/swift security testing

* add go,scala,qt5cpp for security test

* add security test for typescript

* fix go security issue, fix consumes,produces line break
2016-07-12 19:51:28 +08:00
..
docs Add more security samples (#3344) 2016-07-12 19:51:28 +08:00
.gitignore Add more security samples (#3344) 2016-07-12 19:51:28 +08:00
.swagger-codegen-ignore Add more security samples (#3344) 2016-07-12 19:51:28 +08:00
.travis.yml Add more security samples (#3344) 2016-07-12 19:51:28 +08:00
api_client.go Add more security samples (#3344) 2016-07-12 19:51:28 +08:00
api_response.go Add more security samples (#3344) 2016-07-12 19:51:28 +08:00
configuration.go Add more security samples (#3344) 2016-07-12 19:51:28 +08:00
fake_api.go Add more security samples (#3344) 2016-07-12 19:51:28 +08:00
git_push.sh Add more security samples (#3344) 2016-07-12 19:51:28 +08:00
LICENSE Add more security samples (#3344) 2016-07-12 19:51:28 +08:00
model_return.go Add more security samples (#3344) 2016-07-12 19:51:28 +08:00
pom.xml Add more security samples (#3344) 2016-07-12 19:51:28 +08:00
README.md Add more security samples (#3344) 2016-07-12 19:51:28 +08:00

Go API client for swagger

This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: " \ *_/ ' " =end

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0 *_/ ' " =end \r\n \n \r
  • Package version: 1.0.0
  • Build date: 2016-07-12T18:49:24.937+08:00
  • Build package: class io.swagger.codegen.languages.GoClientCodegen

Installation

Put the package under your project folder and add the following in import:

    "./swagger"

Documentation for API Endpoints

All URIs are relative to *https://petstore.swagger.io / ' " =end \r\n \n \r/v2 */ ' " =end \r\n \n \r

Class Method HTTP request Description
FakeApi TestCodeInjectEndRnNR Put /fake To test code injection *_/ ' " =end \r\n \n \r

Documentation For Models

Documentation For Authorization

api_key

  • Type: API key
  • API key parameter name: api_key */ ' " =end \r\n \n \r
  • Location: HTTP header

petstore_auth

Author

apiteam@swagger.io *_/ ' " =end \r\n \n \r