Skip to content

Conversation

@guohuang
Copy link
Contributor

For #2970

@wing328 this is the initial commit for the go server codegen, there is no implementation for the endpoint, all returning 200 now. welcome for any feedback.

cc: @peterbourgon see if this works for you.

# Swagger generated server

## Overview
This server was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [OpenAPI-Spec](https://github.com/OAI/OpenAPI-Specification) from a remote server, you can easily generate a server stub. This is an example of building a node.js server.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

README wasn't updated. This line references a node.js server. Also, instructions for running the server are missing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch, I have added instruction for running the server. this is still the initial PR, we need to extend it later.

@ysqi
Copy link

ysqi commented Jun 7, 2016

@guohuang , Can use Swagger to test API in Beego , and doc see here , You can Write the API use Beego and use beego command tool to generate document automatically for Swagger

@wing328
Copy link
Contributor

wing328 commented Jun 13, 2016

@guohuang thanks for the PR. I'll merge it tomorrow (Tuesday)

@wing328 wing328 merged commit 8943585 into swagger-api:master Jun 15, 2016
@guohuang guohuang deleted the go_server branch June 18, 2016 01:35
@wing328
Copy link
Contributor

wing328 commented Jun 20, 2016

@ysqi Beego looks promising. if you've cycle to contribute a Beego server stub generator, please let me know and I'll show you some good starting point.

@wing328 wing328 changed the title issue#2970, [Go] add go server codegen template [Go] add go server codegen template Dec 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants