Revision control
+ /*
+ * OpenAPI 2.0 test
+ *
+ * This spec is mainly for testing Openapi 2.0
+ *
+ * API version: 1.0.0
+ * Generated by: OpenAPI Generator (https://openapi-generator.tech)
+ */
+
+ package openapi
+
+ import (
+ "github.com/gin-gonic/gin"
+ )
+
+ type FakeAPI struct {
+ }
+
+ // Post /v2/fake/test-path-parameters/:pipeId/:ioutilId/:httpId/:urlId/:multiContextId
+ func (api *FakeAPI) TestPathParameterCollectionFormat(c *gin.Context) {
+ c.JSON(200, gin.H{"status": c.Request.RequestURI})
+ }
+
+ // Post /v2/fake/test-query-parameters
+ func (api *FakeAPI) TestQueryParameterCollectionFormat(c *gin.Context) {
+ c.JSON(200, gin.H{"status": c.Request.RequestURI})
+ }