From 7d34b9eadf5b00fb32cd30c2bae847fd4ac71ae8 Mon Sep 17 00:00:00 2001 From: Andrew M Date: Tue, 16 Jun 2020 12:02:28 -0400 Subject: [PATCH] set base path to /edge/v1 - reroute API requests for the root to edge/v1 (i.e. / -> /edge/v1 - fix pagination empty values being omitted --- controller/env/appenv.go | 2 + controller/internal/routes/base_router.go | 22 +++++--- controller/server/controller.go | 17 +++++- rest_client/ziti_edge_client.go | 2 +- rest_model/pagination.go | 55 ++++++++++++++++++- rest_server/doc.go | 4 +- rest_server/embedded_spec.go | 18 ++++-- .../delete_api_sessions_urlbuilder.go | 2 +- .../detail_api_sessions_urlbuilder.go | 2 +- .../list_api_sessions_urlbuilder.go | 2 +- .../authentication/authenticate_urlbuilder.go | 2 +- .../create_authenticator_urlbuilder.go | 2 +- .../delete_authenticator_urlbuilder.go | 2 +- .../detail_authenticator_urlbuilder.go | 2 +- .../list_authenticators_urlbuilder.go | 2 +- .../patch_authenticator_urlbuilder.go | 2 +- .../update_authenticator_urlbuilder.go | 2 +- .../create_ca_urlbuilder.go | 2 +- .../delete_ca_urlbuilder.go | 2 +- .../detail_ca_urlbuilder.go | 2 +- .../get_ca_jwt_urlbuilder.go | 2 +- .../list_cas_urlbuilder.go | 2 +- .../patch_ca_urlbuilder.go | 2 +- .../update_ca_urlbuilder.go | 2 +- .../verify_ca_urlbuilder.go | 2 +- .../config/create_config_type_urlbuilder.go | 2 +- .../config/create_config_urlbuilder.go | 2 +- .../config/delete_config_type_urlbuilder.go | 2 +- .../config/delete_config_urlbuilder.go | 2 +- .../config/detail_config_type_urlbuilder.go | 2 +- .../config/detail_config_urlbuilder.go | 2 +- .../config/list_config_types_urlbuilder.go | 2 +- ...list_configs_for_config_type_urlbuilder.go | 2 +- .../config/list_configs_urlbuilder.go | 2 +- .../config/patch_config_type_urlbuilder.go | 2 +- .../config/patch_config_urlbuilder.go | 2 +- .../config/update_config_type_urlbuilder.go | 2 +- .../config/update_config_urlbuilder.go | 2 +- .../delete_current_api_session_urlbuilder.go | 2 +- ...rrent_identity_authenticator_urlbuilder.go | 2 +- .../get_current_api_session_urlbuilder.go | 2 +- .../get_current_identity_urlbuilder.go | 2 +- ...rent_identity_authenticators_urlbuilder.go | 2 +- ...rrent_identity_authenticator_urlbuilder.go | 2 +- ...rrent_identity_authenticator_urlbuilder.go | 2 +- .../create_edge_router_urlbuilder.go | 2 +- .../delete_edge_router_urlbuilder.go | 2 +- .../detail_edge_router_urlbuilder.go | 2 +- ..._router_edge_router_policies_urlbuilder.go | 2 +- .../list_edge_router_identities_urlbuilder.go | 2 +- ...service_edge_router_policies_urlbuilder.go | 2 +- .../list_edge_router_services_urlbuilder.go | 2 +- .../list_edge_routers_urlbuilder.go | 2 +- .../patch_edge_router_urlbuilder.go | 2 +- .../update_edge_router_urlbuilder.go | 2 +- .../create_edge_router_policy_urlbuilder.go | 2 +- .../delete_edge_router_policy_urlbuilder.go | 2 +- .../detail_edge_router_policy_urlbuilder.go | 2 +- .../list_edge_router_policies_urlbuilder.go | 2 +- ...e_router_policy_edge_routers_urlbuilder.go | 2 +- ...dge_router_policy_identities_urlbuilder.go | 2 +- .../patch_edge_router_policy_urlbuilder.go | 2 +- .../update_edge_router_policy_urlbuilder.go | 2 +- .../operations/enroll/enroll_ca_urlbuilder.go | 2 +- .../enroll/enroll_er_ott_urlbuilder.go | 2 +- .../enroll/enroll_ott_ca_urlbuilder.go | 2 +- .../enroll/enroll_ott_urlbuilder.go | 2 +- .../operations/enroll/enroll_urlbuilder.go | 2 +- .../enroll/ernoll_updb_urlbuilder.go | 2 +- .../delete_enrollment_urlbuilder.go | 2 +- .../detail_enrollment_urlbuilder.go | 2 +- .../enrollment/list_enrollments_urlbuilder.go | 2 +- .../detail_geo_region_urlbuilder.go | 2 +- .../geo_region/list_geo_regions_urlbuilder.go | 2 +- ...te_identitys_service_configs_urlbuilder.go | 2 +- .../identity/create_identity_urlbuilder.go | 2 +- .../identity/delete_identity_urlbuilder.go | 2 +- .../detail_identity_type_urlbuilder.go | 2 +- .../identity/detail_identity_urlbuilder.go | 2 +- ...te_identitys_service_configs_urlbuilder.go | 2 +- .../get_identity_policy_advice_urlbuilder.go | 2 +- .../identity/list_identities_urlbuilder.go | 2 +- .../list_identity_edge_routers_urlbuilder.go | 2 +- ...st_identity_service_policies_urlbuilder.go | 2 +- .../list_identity_services_urlbuilder.go | 2 +- .../list_identity_types_urlbuilder.go | 2 +- ...entitys_edge_router_policies_urlbuilder.go | 2 +- ...st_identitys_service_configs_urlbuilder.go | 2 +- .../identity/patch_identity_urlbuilder.go | 2 +- .../identity/update_identity_urlbuilder.go | 2 +- .../detail_spec_body_urlbuilder.go | 2 +- .../informational/detail_spec_urlbuilder.go | 2 +- .../informational/list_root_urlbuilder.go | 2 +- .../informational/list_specs_urlbuilder.go | 2 +- .../informational/list_summary_urlbuilder.go | 2 +- .../informational/list_version_urlbuilder.go | 2 +- ..._edge_router_role_attributes_urlbuilder.go | 2 +- ...ist_identity_role_attributes_urlbuilder.go | 2 +- ...list_service_role_attributes_urlbuilder.go | 2 +- .../service/create_service_urlbuilder.go | 2 +- .../service/delete_service_urlbuilder.go | 2 +- .../service/detail_service_urlbuilder.go | 2 +- .../service/list_service_config_urlbuilder.go | 2 +- .../list_service_edge_routers_urlbuilder.go | 2 +- .../list_service_identities_urlbuilder.go | 2 +- ...service_edge_router_policies_urlbuilder.go | 2 +- ...ist_service_service_policies_urlbuilder.go | 2 +- .../list_service_terminators_urlbuilder.go | 2 +- .../service/list_services_urlbuilder.go | 2 +- .../service/patch_service_urlbuilder.go | 2 +- .../service/update_service_urlbuilder.go | 2 +- ...e_service_edge_router_policy_urlbuilder.go | 2 +- ...e_service_edge_router_policy_urlbuilder.go | 2 +- ...l_service_edge_router_policy_urlbuilder.go | 2 +- ...service_edge_router_policies_urlbuilder.go | 2 +- ...e_router_policy_edge_routers_urlbuilder.go | 2 +- ..._edge_router_policy_services_urlbuilder.go | 2 +- ...h_service_edge_router_policy_urlbuilder.go | 2 +- ...e_service_edge_router_policy_urlbuilder.go | 2 +- .../create_service_policy_urlbuilder.go | 2 +- .../delete_service_policy_urlbuilder.go | 2 +- .../detail_service_policy_urlbuilder.go | 2 +- .../list_service_policies_urlbuilder.go | 2 +- ...st_service_policy_identities_urlbuilder.go | 2 +- ...list_service_policy_services_urlbuilder.go | 2 +- .../patch_service_policy_urlbuilder.go | 2 +- .../update_service_policy_urlbuilder.go | 2 +- .../session/create_session_urlbuilder.go | 2 +- .../session/delete_session_urlbuilder.go | 2 +- .../session/detail_session_urlbuilder.go | 2 +- .../session/list_sessions_urlbuilder.go | 2 +- .../create_terminator_urlbuilder.go | 2 +- .../delete_terminator_urlbuilder.go | 2 +- .../detail_terminator_urlbuilder.go | 2 +- .../terminator/list_terminators_urlbuilder.go | 2 +- .../terminator/patch_terminator_urlbuilder.go | 2 +- .../update_terminator_urlbuilder.go | 2 +- .../create_transit_router_urlbuilder.go | 2 +- .../delete_transit_router_urlbuilder.go | 2 +- .../detail_transit_router_urlbuilder.go | 2 +- .../list_transit_routers_urlbuilder.go | 2 +- .../patch_transit_router_urlbuilder.go | 2 +- .../update_transit_router_urlbuilder.go | 2 +- .../list_well_known_cas_urlbuilder.go | 2 +- specs/swagger.yml | 8 ++- 145 files changed, 243 insertions(+), 159 deletions(-) diff --git a/controller/env/appenv.go b/controller/env/appenv.go index 62a07481a..e440b8dfa 100644 --- a/controller/env/appenv.go +++ b/controller/env/appenv.go @@ -289,6 +289,7 @@ func NewAppEnv(c *edgeConfig.Config) *AppEnv { if err != nil { pfxlog.Logger().Fatalln(err) } + api := operations.NewZitiEdgeAPI(swaggerSpec) api.ServeError = ServeError // See README.md in /ziti/edge/embedded for details @@ -319,6 +320,7 @@ func NewAppEnv(c *edgeConfig.Config) *AppEnv { api.ApplicationXPemFileConsumer = noOpConsumer api.ApplicationPkcs10Consumer = noOpConsumer + api.ApplicationXPemFileProducer = &TextProducer{} api.ZtSessionAuth = func(token string) (principal interface{}, err error) { principal, err = ae.GetHandlers().ApiSession.ReadByToken(token) diff --git a/controller/internal/routes/base_router.go b/controller/internal/routes/base_router.go index 0d026c925..2b9dec8b9 100644 --- a/controller/internal/routes/base_router.go +++ b/controller/internal/routes/base_router.go @@ -192,9 +192,9 @@ func ListWithEnvelopeFactory(rc *response.RequestContext, toEnvelope ApiListEnve meta := &rest_model.Meta{ Pagination: &rest_model.Pagination{ - Limit: result.Limit, - Offset: result.Offset, - TotalCount: result.Count, + Limit: &result.Limit, + Offset: &result.Offset, + TotalCount: &result.Count, }, FilterableFields: result.FilterableFields, } @@ -429,12 +429,16 @@ func listWithId(rc *response.RequestContext, f func(id string) ([]interface{}, e count := len(results) + limit := int64(count) + offset := int64(0) + totalCount := int64(count) + meta := &rest_model.Meta{ FilterableFields: []string{}, Pagination: &rest_model.Pagination{ - Limit: int64(count), - Offset: 0, - TotalCount: int64(count), + Limit: &limit, + Offset: &offset, + TotalCount: &totalCount, }, } @@ -533,9 +537,9 @@ func ListAssociations(rc *response.RequestContext, listF listAssocF) { meta := &rest_model.Meta{ Pagination: &rest_model.Pagination{ - Limit: result.Limit, - Offset: result.Offset, - TotalCount: result.Count, + Limit: &result.Limit, + Offset: &result.Offset, + TotalCount: &result.Count, }, FilterableFields: result.FilterableFields, } diff --git a/controller/server/controller.go b/controller/server/controller.go index f681dfda9..f968fe59a 100644 --- a/controller/server/controller.go +++ b/controller/server/controller.go @@ -23,6 +23,7 @@ import ( "net/http" "os" "os/signal" + "strings" "sync" "time" @@ -58,6 +59,10 @@ const ( policyMaxFreq = 1 * time.Hour policyAppWanFreq = 1 * time.Second policySessionFreq = 5 * time.Second + + restApiBase = "/edge/" + restApiBaseUrlV1 = "/edge/v1" + restApiBaseUrlLatest = restApiBaseUrlV1 ) func NewController(cfg config.Configurable) (*Controller, error) { @@ -217,7 +222,7 @@ func (c *Controller) Run() { handlers.AllowCredentials(), } - as := newApiServer(c.config, c.AppEnv.Api.Serve(func(handler http.Handler) http.Handler { + apiHandler := c.AppEnv.Api.Serve(func(handler http.Handler) http.Handler { return http.HandlerFunc(func(rw http.ResponseWriter, r *http.Request) { rc := c.AppEnv.CreateRequestContext(rw, r) @@ -236,6 +241,16 @@ func (c *Controller) Run() { handler.ServeHTTP(rw, r) }) + }) + + as := newApiServer(c.config, http.HandlerFunc(func(writer http.ResponseWriter, request *http.Request) { + //if not edge prefix, translate to "/edge/v" + if !strings.HasPrefix(request.URL.Path, restApiBase) { + request.URL.Path = restApiBaseUrlLatest + request.URL.Path + } + + //let the OpenApi http router take over + apiHandler.ServeHTTP(writer, request) })) as.corsOptions = corsOpts diff --git a/rest_client/ziti_edge_client.go b/rest_client/ziti_edge_client.go index 3fd08f1b0..6a794c818 100644 --- a/rest_client/ziti_edge_client.go +++ b/rest_client/ziti_edge_client.go @@ -66,7 +66,7 @@ const ( DefaultHost string = "demo.ziti.dev" // DefaultBasePath is the default BasePath // found in Meta (info) section of spec file - DefaultBasePath string = "/" + DefaultBasePath string = "/edge/v1" ) // DefaultSchemes are the default schemes found in Meta (info) section of spec file diff --git a/rest_model/pagination.go b/rest_model/pagination.go index 185d9f5fb..a37835d65 100644 --- a/rest_model/pagination.go +++ b/rest_model/pagination.go @@ -30,8 +30,10 @@ package rest_model // Editing this file might prove futile when you re-run the swagger generate command import ( + "github.com/go-openapi/errors" "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" + "github.com/go-openapi/validate" ) // Pagination pagination @@ -40,17 +42,64 @@ import ( type Pagination struct { // limit - Limit int64 `json:"limit,omitempty"` + // Required: true + Limit *int64 `json:"limit"` // offset - Offset int64 `json:"offset,omitempty"` + // Required: true + Offset *int64 `json:"offset"` // total count - TotalCount int64 `json:"totalCount,omitempty"` + // Required: true + TotalCount *int64 `json:"totalCount"` } // Validate validates this pagination func (m *Pagination) Validate(formats strfmt.Registry) error { + var res []error + + if err := m.validateLimit(formats); err != nil { + res = append(res, err) + } + + if err := m.validateOffset(formats); err != nil { + res = append(res, err) + } + + if err := m.validateTotalCount(formats); err != nil { + res = append(res, err) + } + + if len(res) > 0 { + return errors.CompositeValidationError(res...) + } + return nil +} + +func (m *Pagination) validateLimit(formats strfmt.Registry) error { + + if err := validate.Required("limit", "body", m.Limit); err != nil { + return err + } + + return nil +} + +func (m *Pagination) validateOffset(formats strfmt.Registry) error { + + if err := validate.Required("offset", "body", m.Offset); err != nil { + return err + } + + return nil +} + +func (m *Pagination) validateTotalCount(formats strfmt.Registry) error { + + if err := validate.Required("totalCount", "body", m.TotalCount); err != nil { + return err + } + return nil } diff --git a/rest_server/doc.go b/rest_server/doc.go index 30780bf4c..7308b2f45 100644 --- a/rest_server/doc.go +++ b/rest_server/doc.go @@ -28,8 +28,8 @@ // Schemes: // https // Host: demo.ziti.dev -// BasePath: / -// Version: 0.14.0 +// BasePath: /edge/v1 +// Version: 0.15.0 // Contact: // // Consumes: diff --git a/rest_server/embedded_spec.go b/rest_server/embedded_spec.go index f43a423cc..652c99698 100644 --- a/rest_server/embedded_spec.go +++ b/rest_server/embedded_spec.go @@ -55,10 +55,10 @@ func init() { "info": { "title": "Ziti Edge", "contact": {}, - "version": "0.14.0" + "version": "0.15.0" }, "host": "demo.ziti.dev", - "basePath": "/", + "basePath": "/edge/v1", "paths": { "/": { "get": { @@ -6689,6 +6689,11 @@ func init() { }, "pagination": { "type": "object", + "required": [ + "limit", + "offset", + "totalCount" + ], "properties": { "limit": { "type": "number", @@ -8299,10 +8304,10 @@ func init() { "info": { "title": "Ziti Edge", "contact": {}, - "version": "0.14.0" + "version": "0.15.0" }, "host": "demo.ziti.dev", - "basePath": "/", + "basePath": "/edge/v1", "paths": { "/": { "get": { @@ -22213,6 +22218,11 @@ func init() { }, "pagination": { "type": "object", + "required": [ + "limit", + "offset", + "totalCount" + ], "properties": { "limit": { "type": "number", diff --git a/rest_server/operations/api_session/delete_api_sessions_urlbuilder.go b/rest_server/operations/api_session/delete_api_sessions_urlbuilder.go index 96c403553..c049b57ae 100644 --- a/rest_server/operations/api_session/delete_api_sessions_urlbuilder.go +++ b/rest_server/operations/api_session/delete_api_sessions_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DeleteAPISessionsURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/api_session/detail_api_sessions_urlbuilder.go b/rest_server/operations/api_session/detail_api_sessions_urlbuilder.go index 18a5a2519..9f42eb3d1 100644 --- a/rest_server/operations/api_session/detail_api_sessions_urlbuilder.go +++ b/rest_server/operations/api_session/detail_api_sessions_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DetailAPISessionsURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/api_session/list_api_sessions_urlbuilder.go b/rest_server/operations/api_session/list_api_sessions_urlbuilder.go index ab4a65257..9f023cf52 100644 --- a/rest_server/operations/api_session/list_api_sessions_urlbuilder.go +++ b/rest_server/operations/api_session/list_api_sessions_urlbuilder.go @@ -71,7 +71,7 @@ func (o *ListAPISessionsURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/authentication/authenticate_urlbuilder.go b/rest_server/operations/authentication/authenticate_urlbuilder.go index 568a1b554..cc3c1b373 100644 --- a/rest_server/operations/authentication/authenticate_urlbuilder.go +++ b/rest_server/operations/authentication/authenticate_urlbuilder.go @@ -67,7 +67,7 @@ func (o *AuthenticateURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/authenticator/create_authenticator_urlbuilder.go b/rest_server/operations/authenticator/create_authenticator_urlbuilder.go index 7b49d5662..3eab71e39 100644 --- a/rest_server/operations/authenticator/create_authenticator_urlbuilder.go +++ b/rest_server/operations/authenticator/create_authenticator_urlbuilder.go @@ -63,7 +63,7 @@ func (o *CreateAuthenticatorURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/authenticator/delete_authenticator_urlbuilder.go b/rest_server/operations/authenticator/delete_authenticator_urlbuilder.go index fc9178165..c2b72084d 100644 --- a/rest_server/operations/authenticator/delete_authenticator_urlbuilder.go +++ b/rest_server/operations/authenticator/delete_authenticator_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DeleteAuthenticatorURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/authenticator/detail_authenticator_urlbuilder.go b/rest_server/operations/authenticator/detail_authenticator_urlbuilder.go index 6f9334d48..5a25a21b4 100644 --- a/rest_server/operations/authenticator/detail_authenticator_urlbuilder.go +++ b/rest_server/operations/authenticator/detail_authenticator_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DetailAuthenticatorURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/authenticator/list_authenticators_urlbuilder.go b/rest_server/operations/authenticator/list_authenticators_urlbuilder.go index 22008b934..9ccc4305f 100644 --- a/rest_server/operations/authenticator/list_authenticators_urlbuilder.go +++ b/rest_server/operations/authenticator/list_authenticators_urlbuilder.go @@ -63,7 +63,7 @@ func (o *ListAuthenticatorsURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/authenticator/patch_authenticator_urlbuilder.go b/rest_server/operations/authenticator/patch_authenticator_urlbuilder.go index d6c3d4ba8..dbb63a1a3 100644 --- a/rest_server/operations/authenticator/patch_authenticator_urlbuilder.go +++ b/rest_server/operations/authenticator/patch_authenticator_urlbuilder.go @@ -75,7 +75,7 @@ func (o *PatchAuthenticatorURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/authenticator/update_authenticator_urlbuilder.go b/rest_server/operations/authenticator/update_authenticator_urlbuilder.go index c4b3d8ad2..68e452554 100644 --- a/rest_server/operations/authenticator/update_authenticator_urlbuilder.go +++ b/rest_server/operations/authenticator/update_authenticator_urlbuilder.go @@ -75,7 +75,7 @@ func (o *UpdateAuthenticatorURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/certificate_authority/create_ca_urlbuilder.go b/rest_server/operations/certificate_authority/create_ca_urlbuilder.go index e65b16d34..af0313394 100644 --- a/rest_server/operations/certificate_authority/create_ca_urlbuilder.go +++ b/rest_server/operations/certificate_authority/create_ca_urlbuilder.go @@ -63,7 +63,7 @@ func (o *CreateCaURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/certificate_authority/delete_ca_urlbuilder.go b/rest_server/operations/certificate_authority/delete_ca_urlbuilder.go index 801f51353..40570172a 100644 --- a/rest_server/operations/certificate_authority/delete_ca_urlbuilder.go +++ b/rest_server/operations/certificate_authority/delete_ca_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DeleteCaURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/certificate_authority/detail_ca_urlbuilder.go b/rest_server/operations/certificate_authority/detail_ca_urlbuilder.go index b90e4920b..40575a17f 100644 --- a/rest_server/operations/certificate_authority/detail_ca_urlbuilder.go +++ b/rest_server/operations/certificate_authority/detail_ca_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DetailCaURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/certificate_authority/get_ca_jwt_urlbuilder.go b/rest_server/operations/certificate_authority/get_ca_jwt_urlbuilder.go index ce86eb945..3ef00136a 100644 --- a/rest_server/operations/certificate_authority/get_ca_jwt_urlbuilder.go +++ b/rest_server/operations/certificate_authority/get_ca_jwt_urlbuilder.go @@ -75,7 +75,7 @@ func (o *GetCaJwtURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/certificate_authority/list_cas_urlbuilder.go b/rest_server/operations/certificate_authority/list_cas_urlbuilder.go index 88b1131a5..cfc4b0ed4 100644 --- a/rest_server/operations/certificate_authority/list_cas_urlbuilder.go +++ b/rest_server/operations/certificate_authority/list_cas_urlbuilder.go @@ -71,7 +71,7 @@ func (o *ListCasURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/certificate_authority/patch_ca_urlbuilder.go b/rest_server/operations/certificate_authority/patch_ca_urlbuilder.go index 0cbac795c..7cf8d4626 100644 --- a/rest_server/operations/certificate_authority/patch_ca_urlbuilder.go +++ b/rest_server/operations/certificate_authority/patch_ca_urlbuilder.go @@ -75,7 +75,7 @@ func (o *PatchCaURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/certificate_authority/update_ca_urlbuilder.go b/rest_server/operations/certificate_authority/update_ca_urlbuilder.go index 789613fe0..426ad90d3 100644 --- a/rest_server/operations/certificate_authority/update_ca_urlbuilder.go +++ b/rest_server/operations/certificate_authority/update_ca_urlbuilder.go @@ -75,7 +75,7 @@ func (o *UpdateCaURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/certificate_authority/verify_ca_urlbuilder.go b/rest_server/operations/certificate_authority/verify_ca_urlbuilder.go index c07c0d389..8b96d58b3 100644 --- a/rest_server/operations/certificate_authority/verify_ca_urlbuilder.go +++ b/rest_server/operations/certificate_authority/verify_ca_urlbuilder.go @@ -75,7 +75,7 @@ func (o *VerifyCaURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/config/create_config_type_urlbuilder.go b/rest_server/operations/config/create_config_type_urlbuilder.go index ac9f94340..93735f7c4 100644 --- a/rest_server/operations/config/create_config_type_urlbuilder.go +++ b/rest_server/operations/config/create_config_type_urlbuilder.go @@ -63,7 +63,7 @@ func (o *CreateConfigTypeURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/config/create_config_urlbuilder.go b/rest_server/operations/config/create_config_urlbuilder.go index 12e73ed6a..860f7fd24 100644 --- a/rest_server/operations/config/create_config_urlbuilder.go +++ b/rest_server/operations/config/create_config_urlbuilder.go @@ -63,7 +63,7 @@ func (o *CreateConfigURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/config/delete_config_type_urlbuilder.go b/rest_server/operations/config/delete_config_type_urlbuilder.go index 0a61a1636..66bb00f33 100644 --- a/rest_server/operations/config/delete_config_type_urlbuilder.go +++ b/rest_server/operations/config/delete_config_type_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DeleteConfigTypeURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/config/delete_config_urlbuilder.go b/rest_server/operations/config/delete_config_urlbuilder.go index 3859875d9..76c60eb84 100644 --- a/rest_server/operations/config/delete_config_urlbuilder.go +++ b/rest_server/operations/config/delete_config_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DeleteConfigURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/config/detail_config_type_urlbuilder.go b/rest_server/operations/config/detail_config_type_urlbuilder.go index ef14fb4ae..1579a7c27 100644 --- a/rest_server/operations/config/detail_config_type_urlbuilder.go +++ b/rest_server/operations/config/detail_config_type_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DetailConfigTypeURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/config/detail_config_urlbuilder.go b/rest_server/operations/config/detail_config_urlbuilder.go index 239e964be..7646e30bb 100644 --- a/rest_server/operations/config/detail_config_urlbuilder.go +++ b/rest_server/operations/config/detail_config_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DetailConfigURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/config/list_config_types_urlbuilder.go b/rest_server/operations/config/list_config_types_urlbuilder.go index 66b359f00..521056cb8 100644 --- a/rest_server/operations/config/list_config_types_urlbuilder.go +++ b/rest_server/operations/config/list_config_types_urlbuilder.go @@ -71,7 +71,7 @@ func (o *ListConfigTypesURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/config/list_configs_for_config_type_urlbuilder.go b/rest_server/operations/config/list_configs_for_config_type_urlbuilder.go index 632893981..e506ba8a5 100644 --- a/rest_server/operations/config/list_configs_for_config_type_urlbuilder.go +++ b/rest_server/operations/config/list_configs_for_config_type_urlbuilder.go @@ -75,7 +75,7 @@ func (o *ListConfigsForConfigTypeURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/config/list_configs_urlbuilder.go b/rest_server/operations/config/list_configs_urlbuilder.go index f5c056743..15cd4ad27 100644 --- a/rest_server/operations/config/list_configs_urlbuilder.go +++ b/rest_server/operations/config/list_configs_urlbuilder.go @@ -71,7 +71,7 @@ func (o *ListConfigsURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/config/patch_config_type_urlbuilder.go b/rest_server/operations/config/patch_config_type_urlbuilder.go index 0edcb0699..f0f16d5df 100644 --- a/rest_server/operations/config/patch_config_type_urlbuilder.go +++ b/rest_server/operations/config/patch_config_type_urlbuilder.go @@ -75,7 +75,7 @@ func (o *PatchConfigTypeURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/config/patch_config_urlbuilder.go b/rest_server/operations/config/patch_config_urlbuilder.go index 1261c5987..89ddc52b8 100644 --- a/rest_server/operations/config/patch_config_urlbuilder.go +++ b/rest_server/operations/config/patch_config_urlbuilder.go @@ -75,7 +75,7 @@ func (o *PatchConfigURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/config/update_config_type_urlbuilder.go b/rest_server/operations/config/update_config_type_urlbuilder.go index bfe9eb6d3..4c1c833cd 100644 --- a/rest_server/operations/config/update_config_type_urlbuilder.go +++ b/rest_server/operations/config/update_config_type_urlbuilder.go @@ -75,7 +75,7 @@ func (o *UpdateConfigTypeURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/config/update_config_urlbuilder.go b/rest_server/operations/config/update_config_urlbuilder.go index e786106d4..03d8ea745 100644 --- a/rest_server/operations/config/update_config_urlbuilder.go +++ b/rest_server/operations/config/update_config_urlbuilder.go @@ -75,7 +75,7 @@ func (o *UpdateConfigURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/current_api_session/delete_current_api_session_urlbuilder.go b/rest_server/operations/current_api_session/delete_current_api_session_urlbuilder.go index 00f6a475b..6df03537e 100644 --- a/rest_server/operations/current_api_session/delete_current_api_session_urlbuilder.go +++ b/rest_server/operations/current_api_session/delete_current_api_session_urlbuilder.go @@ -63,7 +63,7 @@ func (o *DeleteCurrentAPISessionURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/current_api_session/detail_current_identity_authenticator_urlbuilder.go b/rest_server/operations/current_api_session/detail_current_identity_authenticator_urlbuilder.go index 9733bfccf..40be3af2e 100644 --- a/rest_server/operations/current_api_session/detail_current_identity_authenticator_urlbuilder.go +++ b/rest_server/operations/current_api_session/detail_current_identity_authenticator_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DetailCurrentIdentityAuthenticatorURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/current_api_session/get_current_api_session_urlbuilder.go b/rest_server/operations/current_api_session/get_current_api_session_urlbuilder.go index 57aac3362..793f20737 100644 --- a/rest_server/operations/current_api_session/get_current_api_session_urlbuilder.go +++ b/rest_server/operations/current_api_session/get_current_api_session_urlbuilder.go @@ -63,7 +63,7 @@ func (o *GetCurrentAPISessionURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/current_api_session/get_current_identity_urlbuilder.go b/rest_server/operations/current_api_session/get_current_identity_urlbuilder.go index 44f957726..1d8e12588 100644 --- a/rest_server/operations/current_api_session/get_current_identity_urlbuilder.go +++ b/rest_server/operations/current_api_session/get_current_identity_urlbuilder.go @@ -63,7 +63,7 @@ func (o *GetCurrentIdentityURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/current_api_session/list_current_identity_authenticators_urlbuilder.go b/rest_server/operations/current_api_session/list_current_identity_authenticators_urlbuilder.go index 54d9c9821..d80482e7f 100644 --- a/rest_server/operations/current_api_session/list_current_identity_authenticators_urlbuilder.go +++ b/rest_server/operations/current_api_session/list_current_identity_authenticators_urlbuilder.go @@ -71,7 +71,7 @@ func (o *ListCurrentIdentityAuthenticatorsURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/current_api_session/patch_current_identity_authenticator_urlbuilder.go b/rest_server/operations/current_api_session/patch_current_identity_authenticator_urlbuilder.go index 0aa809c9f..01a22b141 100644 --- a/rest_server/operations/current_api_session/patch_current_identity_authenticator_urlbuilder.go +++ b/rest_server/operations/current_api_session/patch_current_identity_authenticator_urlbuilder.go @@ -75,7 +75,7 @@ func (o *PatchCurrentIdentityAuthenticatorURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/current_api_session/update_current_identity_authenticator_urlbuilder.go b/rest_server/operations/current_api_session/update_current_identity_authenticator_urlbuilder.go index fe0509860..979804749 100644 --- a/rest_server/operations/current_api_session/update_current_identity_authenticator_urlbuilder.go +++ b/rest_server/operations/current_api_session/update_current_identity_authenticator_urlbuilder.go @@ -75,7 +75,7 @@ func (o *UpdateCurrentIdentityAuthenticatorURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/edge_router/create_edge_router_urlbuilder.go b/rest_server/operations/edge_router/create_edge_router_urlbuilder.go index 045d76b9b..e636d9b30 100644 --- a/rest_server/operations/edge_router/create_edge_router_urlbuilder.go +++ b/rest_server/operations/edge_router/create_edge_router_urlbuilder.go @@ -63,7 +63,7 @@ func (o *CreateEdgeRouterURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/edge_router/delete_edge_router_urlbuilder.go b/rest_server/operations/edge_router/delete_edge_router_urlbuilder.go index a418a702e..77a90d347 100644 --- a/rest_server/operations/edge_router/delete_edge_router_urlbuilder.go +++ b/rest_server/operations/edge_router/delete_edge_router_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DeleteEdgeRouterURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/edge_router/detail_edge_router_urlbuilder.go b/rest_server/operations/edge_router/detail_edge_router_urlbuilder.go index a3fdde2cb..a62a3a1a7 100644 --- a/rest_server/operations/edge_router/detail_edge_router_urlbuilder.go +++ b/rest_server/operations/edge_router/detail_edge_router_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DetailEdgeRouterURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/edge_router/list_edge_router_edge_router_policies_urlbuilder.go b/rest_server/operations/edge_router/list_edge_router_edge_router_policies_urlbuilder.go index c62354684..f9d720f8d 100644 --- a/rest_server/operations/edge_router/list_edge_router_edge_router_policies_urlbuilder.go +++ b/rest_server/operations/edge_router/list_edge_router_edge_router_policies_urlbuilder.go @@ -75,7 +75,7 @@ func (o *ListEdgeRouterEdgeRouterPoliciesURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/edge_router/list_edge_router_identities_urlbuilder.go b/rest_server/operations/edge_router/list_edge_router_identities_urlbuilder.go index c8719ca42..27a8c753d 100644 --- a/rest_server/operations/edge_router/list_edge_router_identities_urlbuilder.go +++ b/rest_server/operations/edge_router/list_edge_router_identities_urlbuilder.go @@ -75,7 +75,7 @@ func (o *ListEdgeRouterIdentitiesURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/edge_router/list_edge_router_service_edge_router_policies_urlbuilder.go b/rest_server/operations/edge_router/list_edge_router_service_edge_router_policies_urlbuilder.go index 0efa1c8ed..40b1ddc9e 100644 --- a/rest_server/operations/edge_router/list_edge_router_service_edge_router_policies_urlbuilder.go +++ b/rest_server/operations/edge_router/list_edge_router_service_edge_router_policies_urlbuilder.go @@ -75,7 +75,7 @@ func (o *ListEdgeRouterServiceEdgeRouterPoliciesURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/edge_router/list_edge_router_services_urlbuilder.go b/rest_server/operations/edge_router/list_edge_router_services_urlbuilder.go index 409aa39d0..373e9f866 100644 --- a/rest_server/operations/edge_router/list_edge_router_services_urlbuilder.go +++ b/rest_server/operations/edge_router/list_edge_router_services_urlbuilder.go @@ -75,7 +75,7 @@ func (o *ListEdgeRouterServicesURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/edge_router/list_edge_routers_urlbuilder.go b/rest_server/operations/edge_router/list_edge_routers_urlbuilder.go index fc4b0bef9..769c56c5d 100644 --- a/rest_server/operations/edge_router/list_edge_routers_urlbuilder.go +++ b/rest_server/operations/edge_router/list_edge_routers_urlbuilder.go @@ -73,7 +73,7 @@ func (o *ListEdgeRoutersURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/edge_router/patch_edge_router_urlbuilder.go b/rest_server/operations/edge_router/patch_edge_router_urlbuilder.go index 3119911af..e86d8c0be 100644 --- a/rest_server/operations/edge_router/patch_edge_router_urlbuilder.go +++ b/rest_server/operations/edge_router/patch_edge_router_urlbuilder.go @@ -75,7 +75,7 @@ func (o *PatchEdgeRouterURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/edge_router/update_edge_router_urlbuilder.go b/rest_server/operations/edge_router/update_edge_router_urlbuilder.go index 90206ba58..dbf650faa 100644 --- a/rest_server/operations/edge_router/update_edge_router_urlbuilder.go +++ b/rest_server/operations/edge_router/update_edge_router_urlbuilder.go @@ -75,7 +75,7 @@ func (o *UpdateEdgeRouterURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/edge_router_policy/create_edge_router_policy_urlbuilder.go b/rest_server/operations/edge_router_policy/create_edge_router_policy_urlbuilder.go index 6d82de606..8b2d1fd5b 100644 --- a/rest_server/operations/edge_router_policy/create_edge_router_policy_urlbuilder.go +++ b/rest_server/operations/edge_router_policy/create_edge_router_policy_urlbuilder.go @@ -63,7 +63,7 @@ func (o *CreateEdgeRouterPolicyURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/edge_router_policy/delete_edge_router_policy_urlbuilder.go b/rest_server/operations/edge_router_policy/delete_edge_router_policy_urlbuilder.go index 72d3bc24a..f7cb2afbb 100644 --- a/rest_server/operations/edge_router_policy/delete_edge_router_policy_urlbuilder.go +++ b/rest_server/operations/edge_router_policy/delete_edge_router_policy_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DeleteEdgeRouterPolicyURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/edge_router_policy/detail_edge_router_policy_urlbuilder.go b/rest_server/operations/edge_router_policy/detail_edge_router_policy_urlbuilder.go index 4a11af4d4..2d8f31e21 100644 --- a/rest_server/operations/edge_router_policy/detail_edge_router_policy_urlbuilder.go +++ b/rest_server/operations/edge_router_policy/detail_edge_router_policy_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DetailEdgeRouterPolicyURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/edge_router_policy/list_edge_router_policies_urlbuilder.go b/rest_server/operations/edge_router_policy/list_edge_router_policies_urlbuilder.go index 668f8b041..03d2c610c 100644 --- a/rest_server/operations/edge_router_policy/list_edge_router_policies_urlbuilder.go +++ b/rest_server/operations/edge_router_policy/list_edge_router_policies_urlbuilder.go @@ -71,7 +71,7 @@ func (o *ListEdgeRouterPoliciesURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/edge_router_policy/list_edge_router_policy_edge_routers_urlbuilder.go b/rest_server/operations/edge_router_policy/list_edge_router_policy_edge_routers_urlbuilder.go index 2a3fab165..b8130e20e 100644 --- a/rest_server/operations/edge_router_policy/list_edge_router_policy_edge_routers_urlbuilder.go +++ b/rest_server/operations/edge_router_policy/list_edge_router_policy_edge_routers_urlbuilder.go @@ -75,7 +75,7 @@ func (o *ListEdgeRouterPolicyEdgeRoutersURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/edge_router_policy/list_edge_router_policy_identities_urlbuilder.go b/rest_server/operations/edge_router_policy/list_edge_router_policy_identities_urlbuilder.go index 502f2f3ee..ff8b196d2 100644 --- a/rest_server/operations/edge_router_policy/list_edge_router_policy_identities_urlbuilder.go +++ b/rest_server/operations/edge_router_policy/list_edge_router_policy_identities_urlbuilder.go @@ -75,7 +75,7 @@ func (o *ListEdgeRouterPolicyIdentitiesURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/edge_router_policy/patch_edge_router_policy_urlbuilder.go b/rest_server/operations/edge_router_policy/patch_edge_router_policy_urlbuilder.go index 09486a655..515a0a9bc 100644 --- a/rest_server/operations/edge_router_policy/patch_edge_router_policy_urlbuilder.go +++ b/rest_server/operations/edge_router_policy/patch_edge_router_policy_urlbuilder.go @@ -75,7 +75,7 @@ func (o *PatchEdgeRouterPolicyURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/edge_router_policy/update_edge_router_policy_urlbuilder.go b/rest_server/operations/edge_router_policy/update_edge_router_policy_urlbuilder.go index a15eb37e4..c20cc8d5a 100644 --- a/rest_server/operations/edge_router_policy/update_edge_router_policy_urlbuilder.go +++ b/rest_server/operations/edge_router_policy/update_edge_router_policy_urlbuilder.go @@ -75,7 +75,7 @@ func (o *UpdateEdgeRouterPolicyURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/enroll/enroll_ca_urlbuilder.go b/rest_server/operations/enroll/enroll_ca_urlbuilder.go index 11a27120c..47ab5047a 100644 --- a/rest_server/operations/enroll/enroll_ca_urlbuilder.go +++ b/rest_server/operations/enroll/enroll_ca_urlbuilder.go @@ -63,7 +63,7 @@ func (o *EnrollCaURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/enroll/enroll_er_ott_urlbuilder.go b/rest_server/operations/enroll/enroll_er_ott_urlbuilder.go index 84613efa7..1d858ea49 100644 --- a/rest_server/operations/enroll/enroll_er_ott_urlbuilder.go +++ b/rest_server/operations/enroll/enroll_er_ott_urlbuilder.go @@ -69,7 +69,7 @@ func (o *EnrollErOttURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/enroll/enroll_ott_ca_urlbuilder.go b/rest_server/operations/enroll/enroll_ott_ca_urlbuilder.go index e58a4ab70..aa11085ff 100644 --- a/rest_server/operations/enroll/enroll_ott_ca_urlbuilder.go +++ b/rest_server/operations/enroll/enroll_ott_ca_urlbuilder.go @@ -69,7 +69,7 @@ func (o *EnrollOttCaURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/enroll/enroll_ott_urlbuilder.go b/rest_server/operations/enroll/enroll_ott_urlbuilder.go index 9418f983f..84bad886f 100644 --- a/rest_server/operations/enroll/enroll_ott_urlbuilder.go +++ b/rest_server/operations/enroll/enroll_ott_urlbuilder.go @@ -69,7 +69,7 @@ func (o *EnrollOttURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/enroll/enroll_urlbuilder.go b/rest_server/operations/enroll/enroll_urlbuilder.go index 68f9bc70a..6ae8e5afc 100644 --- a/rest_server/operations/enroll/enroll_urlbuilder.go +++ b/rest_server/operations/enroll/enroll_urlbuilder.go @@ -69,7 +69,7 @@ func (o *EnrollURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/enroll/ernoll_updb_urlbuilder.go b/rest_server/operations/enroll/ernoll_updb_urlbuilder.go index 0d6a4767d..d6af085a8 100644 --- a/rest_server/operations/enroll/ernoll_updb_urlbuilder.go +++ b/rest_server/operations/enroll/ernoll_updb_urlbuilder.go @@ -69,7 +69,7 @@ func (o *ErnollUpdbURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/enrollment/delete_enrollment_urlbuilder.go b/rest_server/operations/enrollment/delete_enrollment_urlbuilder.go index 64a62e5d5..31aec229e 100644 --- a/rest_server/operations/enrollment/delete_enrollment_urlbuilder.go +++ b/rest_server/operations/enrollment/delete_enrollment_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DeleteEnrollmentURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/enrollment/detail_enrollment_urlbuilder.go b/rest_server/operations/enrollment/detail_enrollment_urlbuilder.go index b85496169..3011aab1f 100644 --- a/rest_server/operations/enrollment/detail_enrollment_urlbuilder.go +++ b/rest_server/operations/enrollment/detail_enrollment_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DetailEnrollmentURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/enrollment/list_enrollments_urlbuilder.go b/rest_server/operations/enrollment/list_enrollments_urlbuilder.go index 7e50610ef..827f58a26 100644 --- a/rest_server/operations/enrollment/list_enrollments_urlbuilder.go +++ b/rest_server/operations/enrollment/list_enrollments_urlbuilder.go @@ -71,7 +71,7 @@ func (o *ListEnrollmentsURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/geo_region/detail_geo_region_urlbuilder.go b/rest_server/operations/geo_region/detail_geo_region_urlbuilder.go index f84ff19ff..93bf4bbea 100644 --- a/rest_server/operations/geo_region/detail_geo_region_urlbuilder.go +++ b/rest_server/operations/geo_region/detail_geo_region_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DetailGeoRegionURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/geo_region/list_geo_regions_urlbuilder.go b/rest_server/operations/geo_region/list_geo_regions_urlbuilder.go index 8f3b9885e..f6cadcb6c 100644 --- a/rest_server/operations/geo_region/list_geo_regions_urlbuilder.go +++ b/rest_server/operations/geo_region/list_geo_regions_urlbuilder.go @@ -71,7 +71,7 @@ func (o *ListGeoRegionsURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/identity/associate_identitys_service_configs_urlbuilder.go b/rest_server/operations/identity/associate_identitys_service_configs_urlbuilder.go index b7c263b3c..5d66fc2fa 100644 --- a/rest_server/operations/identity/associate_identitys_service_configs_urlbuilder.go +++ b/rest_server/operations/identity/associate_identitys_service_configs_urlbuilder.go @@ -75,7 +75,7 @@ func (o *AssociateIdentitysServiceConfigsURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/identity/create_identity_urlbuilder.go b/rest_server/operations/identity/create_identity_urlbuilder.go index bdc448808..03a4ccfbb 100644 --- a/rest_server/operations/identity/create_identity_urlbuilder.go +++ b/rest_server/operations/identity/create_identity_urlbuilder.go @@ -63,7 +63,7 @@ func (o *CreateIdentityURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/identity/delete_identity_urlbuilder.go b/rest_server/operations/identity/delete_identity_urlbuilder.go index 07c0a303e..71e2ecc42 100644 --- a/rest_server/operations/identity/delete_identity_urlbuilder.go +++ b/rest_server/operations/identity/delete_identity_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DeleteIdentityURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/identity/detail_identity_type_urlbuilder.go b/rest_server/operations/identity/detail_identity_type_urlbuilder.go index 9cc4529ca..7e796fc6b 100644 --- a/rest_server/operations/identity/detail_identity_type_urlbuilder.go +++ b/rest_server/operations/identity/detail_identity_type_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DetailIdentityTypeURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/identity/detail_identity_urlbuilder.go b/rest_server/operations/identity/detail_identity_urlbuilder.go index 5d93994d7..34b73a7aa 100644 --- a/rest_server/operations/identity/detail_identity_urlbuilder.go +++ b/rest_server/operations/identity/detail_identity_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DetailIdentityURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/identity/disassociate_identitys_service_configs_urlbuilder.go b/rest_server/operations/identity/disassociate_identitys_service_configs_urlbuilder.go index c30dba5fa..8acd5ae9e 100644 --- a/rest_server/operations/identity/disassociate_identitys_service_configs_urlbuilder.go +++ b/rest_server/operations/identity/disassociate_identitys_service_configs_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DisassociateIdentitysServiceConfigsURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/identity/get_identity_policy_advice_urlbuilder.go b/rest_server/operations/identity/get_identity_policy_advice_urlbuilder.go index 0c7d711f5..a156a9e51 100644 --- a/rest_server/operations/identity/get_identity_policy_advice_urlbuilder.go +++ b/rest_server/operations/identity/get_identity_policy_advice_urlbuilder.go @@ -83,7 +83,7 @@ func (o *GetIdentityPolicyAdviceURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/identity/list_identities_urlbuilder.go b/rest_server/operations/identity/list_identities_urlbuilder.go index 68a4959f2..49c7e2936 100644 --- a/rest_server/operations/identity/list_identities_urlbuilder.go +++ b/rest_server/operations/identity/list_identities_urlbuilder.go @@ -73,7 +73,7 @@ func (o *ListIdentitiesURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/identity/list_identity_edge_routers_urlbuilder.go b/rest_server/operations/identity/list_identity_edge_routers_urlbuilder.go index 6b36d28ac..cd5c7ce1c 100644 --- a/rest_server/operations/identity/list_identity_edge_routers_urlbuilder.go +++ b/rest_server/operations/identity/list_identity_edge_routers_urlbuilder.go @@ -75,7 +75,7 @@ func (o *ListIdentityEdgeRoutersURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/identity/list_identity_service_policies_urlbuilder.go b/rest_server/operations/identity/list_identity_service_policies_urlbuilder.go index b1bf284a2..6e4969fe1 100644 --- a/rest_server/operations/identity/list_identity_service_policies_urlbuilder.go +++ b/rest_server/operations/identity/list_identity_service_policies_urlbuilder.go @@ -75,7 +75,7 @@ func (o *ListIdentityServicePoliciesURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/identity/list_identity_services_urlbuilder.go b/rest_server/operations/identity/list_identity_services_urlbuilder.go index 368072c2d..6554bf342 100644 --- a/rest_server/operations/identity/list_identity_services_urlbuilder.go +++ b/rest_server/operations/identity/list_identity_services_urlbuilder.go @@ -75,7 +75,7 @@ func (o *ListIdentityServicesURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/identity/list_identity_types_urlbuilder.go b/rest_server/operations/identity/list_identity_types_urlbuilder.go index bea674a74..eec05eac8 100644 --- a/rest_server/operations/identity/list_identity_types_urlbuilder.go +++ b/rest_server/operations/identity/list_identity_types_urlbuilder.go @@ -71,7 +71,7 @@ func (o *ListIdentityTypesURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/identity/list_identitys_edge_router_policies_urlbuilder.go b/rest_server/operations/identity/list_identitys_edge_router_policies_urlbuilder.go index 3f8f9196f..9e90a2842 100644 --- a/rest_server/operations/identity/list_identitys_edge_router_policies_urlbuilder.go +++ b/rest_server/operations/identity/list_identitys_edge_router_policies_urlbuilder.go @@ -75,7 +75,7 @@ func (o *ListIdentitysEdgeRouterPoliciesURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/identity/list_identitys_service_configs_urlbuilder.go b/rest_server/operations/identity/list_identitys_service_configs_urlbuilder.go index 5c26f290e..ba0c6754a 100644 --- a/rest_server/operations/identity/list_identitys_service_configs_urlbuilder.go +++ b/rest_server/operations/identity/list_identitys_service_configs_urlbuilder.go @@ -75,7 +75,7 @@ func (o *ListIdentitysServiceConfigsURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/identity/patch_identity_urlbuilder.go b/rest_server/operations/identity/patch_identity_urlbuilder.go index e7a6fb0f0..45d6ee4aa 100644 --- a/rest_server/operations/identity/patch_identity_urlbuilder.go +++ b/rest_server/operations/identity/patch_identity_urlbuilder.go @@ -75,7 +75,7 @@ func (o *PatchIdentityURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/identity/update_identity_urlbuilder.go b/rest_server/operations/identity/update_identity_urlbuilder.go index 639776a95..2f3d909cd 100644 --- a/rest_server/operations/identity/update_identity_urlbuilder.go +++ b/rest_server/operations/identity/update_identity_urlbuilder.go @@ -75,7 +75,7 @@ func (o *UpdateIdentityURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/informational/detail_spec_body_urlbuilder.go b/rest_server/operations/informational/detail_spec_body_urlbuilder.go index 23372d349..61b3c9b46 100644 --- a/rest_server/operations/informational/detail_spec_body_urlbuilder.go +++ b/rest_server/operations/informational/detail_spec_body_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DetailSpecBodyURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/informational/detail_spec_urlbuilder.go b/rest_server/operations/informational/detail_spec_urlbuilder.go index 1b734d6e7..f1b8fcefb 100644 --- a/rest_server/operations/informational/detail_spec_urlbuilder.go +++ b/rest_server/operations/informational/detail_spec_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DetailSpecURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/informational/list_root_urlbuilder.go b/rest_server/operations/informational/list_root_urlbuilder.go index 5ae1f3ce5..d6227d10b 100644 --- a/rest_server/operations/informational/list_root_urlbuilder.go +++ b/rest_server/operations/informational/list_root_urlbuilder.go @@ -63,7 +63,7 @@ func (o *ListRootURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/informational/list_specs_urlbuilder.go b/rest_server/operations/informational/list_specs_urlbuilder.go index 4514ed180..06ca9b64b 100644 --- a/rest_server/operations/informational/list_specs_urlbuilder.go +++ b/rest_server/operations/informational/list_specs_urlbuilder.go @@ -63,7 +63,7 @@ func (o *ListSpecsURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/informational/list_summary_urlbuilder.go b/rest_server/operations/informational/list_summary_urlbuilder.go index 9401544f1..7c23eb308 100644 --- a/rest_server/operations/informational/list_summary_urlbuilder.go +++ b/rest_server/operations/informational/list_summary_urlbuilder.go @@ -63,7 +63,7 @@ func (o *ListSummaryURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/informational/list_version_urlbuilder.go b/rest_server/operations/informational/list_version_urlbuilder.go index 06e01d2dc..13d65593b 100644 --- a/rest_server/operations/informational/list_version_urlbuilder.go +++ b/rest_server/operations/informational/list_version_urlbuilder.go @@ -63,7 +63,7 @@ func (o *ListVersionURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/role_attributes/list_edge_router_role_attributes_urlbuilder.go b/rest_server/operations/role_attributes/list_edge_router_role_attributes_urlbuilder.go index 72de583fb..cab95c786 100644 --- a/rest_server/operations/role_attributes/list_edge_router_role_attributes_urlbuilder.go +++ b/rest_server/operations/role_attributes/list_edge_router_role_attributes_urlbuilder.go @@ -71,7 +71,7 @@ func (o *ListEdgeRouterRoleAttributesURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/role_attributes/list_identity_role_attributes_urlbuilder.go b/rest_server/operations/role_attributes/list_identity_role_attributes_urlbuilder.go index c37bd9cdb..7f6a0e316 100644 --- a/rest_server/operations/role_attributes/list_identity_role_attributes_urlbuilder.go +++ b/rest_server/operations/role_attributes/list_identity_role_attributes_urlbuilder.go @@ -71,7 +71,7 @@ func (o *ListIdentityRoleAttributesURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/role_attributes/list_service_role_attributes_urlbuilder.go b/rest_server/operations/role_attributes/list_service_role_attributes_urlbuilder.go index 008324d2b..73461faee 100644 --- a/rest_server/operations/role_attributes/list_service_role_attributes_urlbuilder.go +++ b/rest_server/operations/role_attributes/list_service_role_attributes_urlbuilder.go @@ -71,7 +71,7 @@ func (o *ListServiceRoleAttributesURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/service/create_service_urlbuilder.go b/rest_server/operations/service/create_service_urlbuilder.go index c239c9945..03c17cf5a 100644 --- a/rest_server/operations/service/create_service_urlbuilder.go +++ b/rest_server/operations/service/create_service_urlbuilder.go @@ -63,7 +63,7 @@ func (o *CreateServiceURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/service/delete_service_urlbuilder.go b/rest_server/operations/service/delete_service_urlbuilder.go index 340ccc7be..2c2c02ef4 100644 --- a/rest_server/operations/service/delete_service_urlbuilder.go +++ b/rest_server/operations/service/delete_service_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DeleteServiceURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/service/detail_service_urlbuilder.go b/rest_server/operations/service/detail_service_urlbuilder.go index 8042e441e..9bf277e95 100644 --- a/rest_server/operations/service/detail_service_urlbuilder.go +++ b/rest_server/operations/service/detail_service_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DetailServiceURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/service/list_service_config_urlbuilder.go b/rest_server/operations/service/list_service_config_urlbuilder.go index 6cb96e9b0..92cbc2665 100644 --- a/rest_server/operations/service/list_service_config_urlbuilder.go +++ b/rest_server/operations/service/list_service_config_urlbuilder.go @@ -81,7 +81,7 @@ func (o *ListServiceConfigURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/service/list_service_edge_routers_urlbuilder.go b/rest_server/operations/service/list_service_edge_routers_urlbuilder.go index 516832648..5ac1a1414 100644 --- a/rest_server/operations/service/list_service_edge_routers_urlbuilder.go +++ b/rest_server/operations/service/list_service_edge_routers_urlbuilder.go @@ -81,7 +81,7 @@ func (o *ListServiceEdgeRoutersURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/service/list_service_identities_urlbuilder.go b/rest_server/operations/service/list_service_identities_urlbuilder.go index a5913e19b..cf5c667cc 100644 --- a/rest_server/operations/service/list_service_identities_urlbuilder.go +++ b/rest_server/operations/service/list_service_identities_urlbuilder.go @@ -81,7 +81,7 @@ func (o *ListServiceIdentitiesURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/service/list_service_service_edge_router_policies_urlbuilder.go b/rest_server/operations/service/list_service_service_edge_router_policies_urlbuilder.go index 2320782bf..cf915c4d4 100644 --- a/rest_server/operations/service/list_service_service_edge_router_policies_urlbuilder.go +++ b/rest_server/operations/service/list_service_service_edge_router_policies_urlbuilder.go @@ -81,7 +81,7 @@ func (o *ListServiceServiceEdgeRouterPoliciesURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/service/list_service_service_policies_urlbuilder.go b/rest_server/operations/service/list_service_service_policies_urlbuilder.go index 8101ac114..d50132e27 100644 --- a/rest_server/operations/service/list_service_service_policies_urlbuilder.go +++ b/rest_server/operations/service/list_service_service_policies_urlbuilder.go @@ -81,7 +81,7 @@ func (o *ListServiceServicePoliciesURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/service/list_service_terminators_urlbuilder.go b/rest_server/operations/service/list_service_terminators_urlbuilder.go index 7df7de643..a74e7a00d 100644 --- a/rest_server/operations/service/list_service_terminators_urlbuilder.go +++ b/rest_server/operations/service/list_service_terminators_urlbuilder.go @@ -81,7 +81,7 @@ func (o *ListServiceTerminatorsURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/service/list_services_urlbuilder.go b/rest_server/operations/service/list_services_urlbuilder.go index b9533d00c..29ef14514 100644 --- a/rest_server/operations/service/list_services_urlbuilder.go +++ b/rest_server/operations/service/list_services_urlbuilder.go @@ -73,7 +73,7 @@ func (o *ListServicesURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/service/patch_service_urlbuilder.go b/rest_server/operations/service/patch_service_urlbuilder.go index 973138237..a4dd7c7bf 100644 --- a/rest_server/operations/service/patch_service_urlbuilder.go +++ b/rest_server/operations/service/patch_service_urlbuilder.go @@ -75,7 +75,7 @@ func (o *PatchServiceURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/service/update_service_urlbuilder.go b/rest_server/operations/service/update_service_urlbuilder.go index 6004f6b33..1a23bc370 100644 --- a/rest_server/operations/service/update_service_urlbuilder.go +++ b/rest_server/operations/service/update_service_urlbuilder.go @@ -75,7 +75,7 @@ func (o *UpdateServiceURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/service_edge_router_policy/create_service_edge_router_policy_urlbuilder.go b/rest_server/operations/service_edge_router_policy/create_service_edge_router_policy_urlbuilder.go index 169280ab9..fe15ae234 100644 --- a/rest_server/operations/service_edge_router_policy/create_service_edge_router_policy_urlbuilder.go +++ b/rest_server/operations/service_edge_router_policy/create_service_edge_router_policy_urlbuilder.go @@ -63,7 +63,7 @@ func (o *CreateServiceEdgeRouterPolicyURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/service_edge_router_policy/delete_service_edge_router_policy_urlbuilder.go b/rest_server/operations/service_edge_router_policy/delete_service_edge_router_policy_urlbuilder.go index 8cdc9d12b..76e75fb42 100644 --- a/rest_server/operations/service_edge_router_policy/delete_service_edge_router_policy_urlbuilder.go +++ b/rest_server/operations/service_edge_router_policy/delete_service_edge_router_policy_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DeleteServiceEdgeRouterPolicyURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/service_edge_router_policy/detail_service_edge_router_policy_urlbuilder.go b/rest_server/operations/service_edge_router_policy/detail_service_edge_router_policy_urlbuilder.go index cc6972653..d77008473 100644 --- a/rest_server/operations/service_edge_router_policy/detail_service_edge_router_policy_urlbuilder.go +++ b/rest_server/operations/service_edge_router_policy/detail_service_edge_router_policy_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DetailServiceEdgeRouterPolicyURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/service_edge_router_policy/list_service_edge_router_policies_urlbuilder.go b/rest_server/operations/service_edge_router_policy/list_service_edge_router_policies_urlbuilder.go index 29933d515..18ac6223f 100644 --- a/rest_server/operations/service_edge_router_policy/list_service_edge_router_policies_urlbuilder.go +++ b/rest_server/operations/service_edge_router_policy/list_service_edge_router_policies_urlbuilder.go @@ -71,7 +71,7 @@ func (o *ListServiceEdgeRouterPoliciesURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/service_edge_router_policy/list_service_edge_router_policy_edge_routers_urlbuilder.go b/rest_server/operations/service_edge_router_policy/list_service_edge_router_policy_edge_routers_urlbuilder.go index cc226533a..30e35a647 100644 --- a/rest_server/operations/service_edge_router_policy/list_service_edge_router_policy_edge_routers_urlbuilder.go +++ b/rest_server/operations/service_edge_router_policy/list_service_edge_router_policy_edge_routers_urlbuilder.go @@ -75,7 +75,7 @@ func (o *ListServiceEdgeRouterPolicyEdgeRoutersURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/service_edge_router_policy/list_service_edge_router_policy_services_urlbuilder.go b/rest_server/operations/service_edge_router_policy/list_service_edge_router_policy_services_urlbuilder.go index 35ccc65be..566da1efd 100644 --- a/rest_server/operations/service_edge_router_policy/list_service_edge_router_policy_services_urlbuilder.go +++ b/rest_server/operations/service_edge_router_policy/list_service_edge_router_policy_services_urlbuilder.go @@ -75,7 +75,7 @@ func (o *ListServiceEdgeRouterPolicyServicesURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/service_edge_router_policy/patch_service_edge_router_policy_urlbuilder.go b/rest_server/operations/service_edge_router_policy/patch_service_edge_router_policy_urlbuilder.go index f477ccb6c..0eeec9bfb 100644 --- a/rest_server/operations/service_edge_router_policy/patch_service_edge_router_policy_urlbuilder.go +++ b/rest_server/operations/service_edge_router_policy/patch_service_edge_router_policy_urlbuilder.go @@ -75,7 +75,7 @@ func (o *PatchServiceEdgeRouterPolicyURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/service_edge_router_policy/update_service_edge_router_policy_urlbuilder.go b/rest_server/operations/service_edge_router_policy/update_service_edge_router_policy_urlbuilder.go index 68128c838..255d5cdc6 100644 --- a/rest_server/operations/service_edge_router_policy/update_service_edge_router_policy_urlbuilder.go +++ b/rest_server/operations/service_edge_router_policy/update_service_edge_router_policy_urlbuilder.go @@ -75,7 +75,7 @@ func (o *UpdateServiceEdgeRouterPolicyURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/service_policy/create_service_policy_urlbuilder.go b/rest_server/operations/service_policy/create_service_policy_urlbuilder.go index 5960d0f9d..24947c5d8 100644 --- a/rest_server/operations/service_policy/create_service_policy_urlbuilder.go +++ b/rest_server/operations/service_policy/create_service_policy_urlbuilder.go @@ -63,7 +63,7 @@ func (o *CreateServicePolicyURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/service_policy/delete_service_policy_urlbuilder.go b/rest_server/operations/service_policy/delete_service_policy_urlbuilder.go index 27e279474..1f7448bfa 100644 --- a/rest_server/operations/service_policy/delete_service_policy_urlbuilder.go +++ b/rest_server/operations/service_policy/delete_service_policy_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DeleteServicePolicyURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/service_policy/detail_service_policy_urlbuilder.go b/rest_server/operations/service_policy/detail_service_policy_urlbuilder.go index 7d2acdb82..1acc17c76 100644 --- a/rest_server/operations/service_policy/detail_service_policy_urlbuilder.go +++ b/rest_server/operations/service_policy/detail_service_policy_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DetailServicePolicyURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/service_policy/list_service_policies_urlbuilder.go b/rest_server/operations/service_policy/list_service_policies_urlbuilder.go index deb288ce7..95c218b94 100644 --- a/rest_server/operations/service_policy/list_service_policies_urlbuilder.go +++ b/rest_server/operations/service_policy/list_service_policies_urlbuilder.go @@ -71,7 +71,7 @@ func (o *ListServicePoliciesURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/service_policy/list_service_policy_identities_urlbuilder.go b/rest_server/operations/service_policy/list_service_policy_identities_urlbuilder.go index 97e6e3c36..bb45b09cf 100644 --- a/rest_server/operations/service_policy/list_service_policy_identities_urlbuilder.go +++ b/rest_server/operations/service_policy/list_service_policy_identities_urlbuilder.go @@ -81,7 +81,7 @@ func (o *ListServicePolicyIdentitiesURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/service_policy/list_service_policy_services_urlbuilder.go b/rest_server/operations/service_policy/list_service_policy_services_urlbuilder.go index cf155cf9b..f5988f108 100644 --- a/rest_server/operations/service_policy/list_service_policy_services_urlbuilder.go +++ b/rest_server/operations/service_policy/list_service_policy_services_urlbuilder.go @@ -81,7 +81,7 @@ func (o *ListServicePolicyServicesURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/service_policy/patch_service_policy_urlbuilder.go b/rest_server/operations/service_policy/patch_service_policy_urlbuilder.go index 4021ac7e0..3914dc8a6 100644 --- a/rest_server/operations/service_policy/patch_service_policy_urlbuilder.go +++ b/rest_server/operations/service_policy/patch_service_policy_urlbuilder.go @@ -75,7 +75,7 @@ func (o *PatchServicePolicyURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/service_policy/update_service_policy_urlbuilder.go b/rest_server/operations/service_policy/update_service_policy_urlbuilder.go index c2f6fba34..5e79f041a 100644 --- a/rest_server/operations/service_policy/update_service_policy_urlbuilder.go +++ b/rest_server/operations/service_policy/update_service_policy_urlbuilder.go @@ -75,7 +75,7 @@ func (o *UpdateServicePolicyURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/session/create_session_urlbuilder.go b/rest_server/operations/session/create_session_urlbuilder.go index 204682c9d..43c1b389e 100644 --- a/rest_server/operations/session/create_session_urlbuilder.go +++ b/rest_server/operations/session/create_session_urlbuilder.go @@ -63,7 +63,7 @@ func (o *CreateSessionURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/session/delete_session_urlbuilder.go b/rest_server/operations/session/delete_session_urlbuilder.go index 7bc9b318d..413cf0df5 100644 --- a/rest_server/operations/session/delete_session_urlbuilder.go +++ b/rest_server/operations/session/delete_session_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DeleteSessionURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/session/detail_session_urlbuilder.go b/rest_server/operations/session/detail_session_urlbuilder.go index f3f8cc30c..2062d08c6 100644 --- a/rest_server/operations/session/detail_session_urlbuilder.go +++ b/rest_server/operations/session/detail_session_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DetailSessionURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/session/list_sessions_urlbuilder.go b/rest_server/operations/session/list_sessions_urlbuilder.go index e86517767..84353aade 100644 --- a/rest_server/operations/session/list_sessions_urlbuilder.go +++ b/rest_server/operations/session/list_sessions_urlbuilder.go @@ -71,7 +71,7 @@ func (o *ListSessionsURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/terminator/create_terminator_urlbuilder.go b/rest_server/operations/terminator/create_terminator_urlbuilder.go index 8fc9f16c8..fdde6808a 100644 --- a/rest_server/operations/terminator/create_terminator_urlbuilder.go +++ b/rest_server/operations/terminator/create_terminator_urlbuilder.go @@ -63,7 +63,7 @@ func (o *CreateTerminatorURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/terminator/delete_terminator_urlbuilder.go b/rest_server/operations/terminator/delete_terminator_urlbuilder.go index 86ca51bcb..038b4e99b 100644 --- a/rest_server/operations/terminator/delete_terminator_urlbuilder.go +++ b/rest_server/operations/terminator/delete_terminator_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DeleteTerminatorURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/terminator/detail_terminator_urlbuilder.go b/rest_server/operations/terminator/detail_terminator_urlbuilder.go index cf13f12e1..ef42913de 100644 --- a/rest_server/operations/terminator/detail_terminator_urlbuilder.go +++ b/rest_server/operations/terminator/detail_terminator_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DetailTerminatorURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/terminator/list_terminators_urlbuilder.go b/rest_server/operations/terminator/list_terminators_urlbuilder.go index 26297f66d..2664dbc51 100644 --- a/rest_server/operations/terminator/list_terminators_urlbuilder.go +++ b/rest_server/operations/terminator/list_terminators_urlbuilder.go @@ -71,7 +71,7 @@ func (o *ListTerminatorsURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/terminator/patch_terminator_urlbuilder.go b/rest_server/operations/terminator/patch_terminator_urlbuilder.go index 96ad2f25e..99f6c6111 100644 --- a/rest_server/operations/terminator/patch_terminator_urlbuilder.go +++ b/rest_server/operations/terminator/patch_terminator_urlbuilder.go @@ -75,7 +75,7 @@ func (o *PatchTerminatorURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/terminator/update_terminator_urlbuilder.go b/rest_server/operations/terminator/update_terminator_urlbuilder.go index b91520070..59f398e54 100644 --- a/rest_server/operations/terminator/update_terminator_urlbuilder.go +++ b/rest_server/operations/terminator/update_terminator_urlbuilder.go @@ -75,7 +75,7 @@ func (o *UpdateTerminatorURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/transit_router/create_transit_router_urlbuilder.go b/rest_server/operations/transit_router/create_transit_router_urlbuilder.go index 5e3941a60..a805525f0 100644 --- a/rest_server/operations/transit_router/create_transit_router_urlbuilder.go +++ b/rest_server/operations/transit_router/create_transit_router_urlbuilder.go @@ -63,7 +63,7 @@ func (o *CreateTransitRouterURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/transit_router/delete_transit_router_urlbuilder.go b/rest_server/operations/transit_router/delete_transit_router_urlbuilder.go index 9e9f9d890..798507b5f 100644 --- a/rest_server/operations/transit_router/delete_transit_router_urlbuilder.go +++ b/rest_server/operations/transit_router/delete_transit_router_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DeleteTransitRouterURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/transit_router/detail_transit_router_urlbuilder.go b/rest_server/operations/transit_router/detail_transit_router_urlbuilder.go index de6c00c97..04706c02d 100644 --- a/rest_server/operations/transit_router/detail_transit_router_urlbuilder.go +++ b/rest_server/operations/transit_router/detail_transit_router_urlbuilder.go @@ -75,7 +75,7 @@ func (o *DetailTransitRouterURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/transit_router/list_transit_routers_urlbuilder.go b/rest_server/operations/transit_router/list_transit_routers_urlbuilder.go index a61048d0f..ed1384c88 100644 --- a/rest_server/operations/transit_router/list_transit_routers_urlbuilder.go +++ b/rest_server/operations/transit_router/list_transit_routers_urlbuilder.go @@ -71,7 +71,7 @@ func (o *ListTransitRoutersURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/transit_router/patch_transit_router_urlbuilder.go b/rest_server/operations/transit_router/patch_transit_router_urlbuilder.go index fe12ee0e5..19fa49b0a 100644 --- a/rest_server/operations/transit_router/patch_transit_router_urlbuilder.go +++ b/rest_server/operations/transit_router/patch_transit_router_urlbuilder.go @@ -75,7 +75,7 @@ func (o *PatchTransitRouterURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/transit_router/update_transit_router_urlbuilder.go b/rest_server/operations/transit_router/update_transit_router_urlbuilder.go index c35340908..16af975c0 100644 --- a/rest_server/operations/transit_router/update_transit_router_urlbuilder.go +++ b/rest_server/operations/transit_router/update_transit_router_urlbuilder.go @@ -75,7 +75,7 @@ func (o *UpdateTransitRouterURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/rest_server/operations/well_known/list_well_known_cas_urlbuilder.go b/rest_server/operations/well_known/list_well_known_cas_urlbuilder.go index ccde09786..e11bfd937 100644 --- a/rest_server/operations/well_known/list_well_known_cas_urlbuilder.go +++ b/rest_server/operations/well_known/list_well_known_cas_urlbuilder.go @@ -63,7 +63,7 @@ func (o *ListWellKnownCasURL) Build() (*url.URL, error) { _basePath := o._basePath if _basePath == "" { - _basePath = "/" + _basePath = "/edge/v1" } _result.Path = golangswaggerpaths.Join(_basePath, _path) diff --git a/specs/swagger.yml b/specs/swagger.yml index 05df22123..35f5d5916 100644 --- a/specs/swagger.yml +++ b/specs/swagger.yml @@ -1,11 +1,11 @@ --- swagger: '2.0' info: - version: 0.14.0 + version: 0.15.0 title: Ziti Edge contact: {} host: demo.ziti.dev -basePath: / +basePath: /edge/v1 schemes: - https consumes: @@ -5289,6 +5289,10 @@ definitions: type: string pagination: type: object + required: + - limit + - offset + - totalCount properties: limit: type: number