openapi-generator/samples/server/petstore/go-api-server/go
2016-05-27 09:42:08 -07:00
..
app.yaml issue#2970, [Go] add go server codeine template 2016-05-26 22:34:18 -07:00
logger.go removed tab in logger, added warnings for import 2016-05-27 09:42:08 -07:00
pet.go issue#2970, [Go] add go server codeine template 2016-05-26 22:34:18 -07:00
README.md updated read me and removed extra space 2016-05-27 09:18:23 -07:00
routers.go updated read me and removed extra space 2016-05-27 09:18:23 -07:00
store.go issue#2970, [Go] add go server codeine template 2016-05-26 22:34:18 -07:00
user.go issue#2970, [Go] add go server codeine template 2016-05-26 22:34:18 -07:00

Go API Server for petstoreserver

This is a sample server Petstore server. You can find out more about Swagger at http://swagger.io or on irc.freenode.net, #swagger. For this sample, you can use the api key special-key to test the authorization filters.

Overview

This server was generated by the [swagger-codegen] (https://github.com/swagger-api/swagger-codegen) project.
By using the OpenAPI-Spec from a remote server, you can easily generate a server stub.

To see how to make this your own, look here:

README

  • API version: 1.0.0
  • Build date: 2016-05-27T09:17:10.992-07:00

Running the server

To run the server, follow these simple steps:

go run main.go