Support primitive schema types for path parameters:
api := rest.NewAPI("API")
api.Get("/user/{id}").HasPathParameter("id", rest.PathParam{Type: "integer"})
This provides the swagger ui (and auto-generated api clients) with additional type information for sending the correct type of path params to the server.
Support primitive schema types for path parameters:
This provides the swagger ui (and auto-generated api clients) with additional type information for sending the correct type of path params to the server.