mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 11:23:58 +00:00
f0b9c2b761
* Issue #3084: add hideGenerationTimestamp option to Go server generator. * Issue #3084: use hideGenerationTimestamp in go server sample script. * Update Go server samples. |
||
---|---|---|
.. | ||
app.yaml | ||
logger.go | ||
pet.go | ||
README.md | ||
routers.go | ||
store.go | ||
user.go |
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:
- API version: 1.0.0
Running the server
To run the server, follow these simple steps:
go run main.go