server: Remove support for paging + SingleStringPathParam.
@@ -479,10 +479,6 @@ func (h handler) {{.Op}}Handler(ctx context.Context, w http.ResponseWriter, r *h
{{if .HasPaging}}
if !swag.IsZero(nextPageID) {
- {{if .SingleStringPathParameter}}
- {{.InputVarName}} = nextPageID
- w.Header().Set("X-Next-Page-Path", models.{{.Op}}InputPath({{.InputVarName}})
- {{else}}
{{.InputVarName}}.{{.PagingParamField}} = {{if .PagingParamPointer}}&{{end}}nextPageID
path, err := {{.InputVarName}}.Path()
if err != nil {
@@ -491,7 +487,6 @@ func (h handler) {{.Op}}Handler(ctx context.Context, w http.ResponseWriter, r *h
return
}
w.Header().Set("X-Next-Page-Path", path)
- {{end}}
}
{{end}}
