openapi-generator/samples/server/petstore/go-api-server/go
Paŭlo Ebermann f0b9c2b761 [Go] #3084: remove timestamps from go server (#5218)
* Issue #3084: add hideGenerationTimestamp option to Go server generator.

* Issue #3084: use hideGenerationTimestamp in go server sample script.

* Update Go server samples.
2017-03-27 11:47:15 +08: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 [Go] #3084: remove timestamps from go server (#5218) 2017-03-27 11:47:15 +08:00
routers.go [Go] #3084: remove timestamps from go server (#5218) 2017-03-27 11:47:15 +08: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

Running the server

To run the server, follow these simple steps:

go run main.go