diff --git a/src/docs/add_v1_receive_schemas.go b/src/docs/add_v1_receive_schemas.go index 5679450..2d467b1 100644 --- a/src/docs/add_v1_receive_schemas.go +++ b/src/docs/add_v1_receive_schemas.go @@ -162,9 +162,6 @@ func extractDocTemplate(content string) (string, int, int, error) { func unmarshalDocument(content string, withSchemesTemplate bool) (map[string]interface{}, error) { if withSchemesTemplate { content = strings.ReplaceAll(content, "` + \"`\" + `", "`") - } - - if withSchemesTemplate { content = strings.Replace(content, schemesTemplateValue, `"`+schemesPlaceholderToken+`"`, 1) }