Revision control
Copy as Markdown
/*
* Operation Parameters Test
*
* This specification is intended for testing purposes. It demonstrates a wide range of combinations of the `style` and `explode` attributes for parameters in various locations: query, path, header, and cookie. The goal is to verify correct path and parameter generation for each case.
*
* API version: 1.0.0
*/
package main
import (
"log"
// WARNING!
// Pass --git-repo-id and --git-user-id properties when generating the code
//
sw "github.com/GIT_USER_ID/GIT_REPO_ID/go"
)
func main() {
routes := sw.ApiHandleFunctions{}
log.Printf("Server started")
router := sw.NewRouter(routes)
log.Fatal(router.Run(":10203"))
}