Edit upstreams, added swagger docs

This commit is contained in:
Jamie Curnow
2023-01-09 16:19:23 +10:00
parent 6147ee925e
commit f5b3568893
8 changed files with 304 additions and 0 deletions

View File

@ -105,6 +105,7 @@ func replaceIncomingSchemas(swaggerSchema []byte) []byte {
str = strings.ReplaceAll(str, `"{{schema.UpdateDNSProvider}}"`, schema.UpdateDNSProvider())
str = strings.ReplaceAll(str, `"{{schema.CreateUpstream}}"`, schema.CreateUpstream())
str = strings.ReplaceAll(str, `"{{schema.UpdateUpstream}}"`, schema.UpdateUpstream())
return []byte(str)
}