func (c *Context) GetSameStructArraryByString(rw web.ResponseWriter, req *web.Request) {
	c.WriteResponse([]SimpleStructure{
		SimpleStructure{},
		SimpleStructure{},
		SimpleStructure{},
	})
}
@Title SameStruct
@Summary get struct array by ID
@Description get struct array by ID
@Consumes json
@Produces json
@Param some_id path string true "Some ID"
@Param offset query int true "Offset"
@Param body body []SimpleStructure true "Body"
@Param limit query int true "Limit"
@Success 200 []SimpleStructure "Success"
@Failure 400 APIError "We need ID!!"
@Failure 404 APIError "Can not find ID"
@Router PUT /testapi/get-same-struct-array-by-string/{some_id}
package api
import (
	"fmt"
	_ "os"
	"github.com/gocraft/web"
	"github.com/teambition/swaggo/test/pkg/api/subpackage"
	sub "github.com/teambition/swaggo/test/pkg/api/subpackage_alias"
	. "github.com/teambition/swaggo/test/pkg/api/subpackage_dot"
)
var (
	_ = sub.SubStructAlias{}
	_ = SubStructDot{}
)
type Context struct {
	Response interface{}
}
func (c *Context) WriteResponse(response interface{}) {
	c.Response = response
}
func (c *Context) GetStringByInt(rw web.ResponseWriter, req *web.Request) {
	c.WriteResponse(fmt.Sprint("Some data for %s ID", req.PathParams["some_id"]))
}
func (c *Context) GetStructByInt(rw web.ResponseWriter, req *web.Request) {
	c.WriteResponse(StructureWithEmbededStructure{})
}
func (c *Context) GetStruct2ByInt(rw web.ResponseWriter, req *web.Request) {
	c.WriteResponse(StructureWithEmbededPointer{})
}
func (c *Context) GetSimpleArrayByString(rw web.ResponseWriter, req *web.Request) {
	c.WriteResponse([]string{"one", "two", "three"})
}
func (c *Context) GetStructArrayByString(rw web.ResponseWriter, req *web.Request) {
	c.WriteResponse([]subpackage.SimpleStructure{
		subpackage.SimpleStructure{},
		subpackage.SimpleStructure{},
		subpackage.SimpleStructure{},
	})
}