fix: ajouter retour de ligne manquant à pave spec
This commit is contained in:
parent
8e03ba001f
commit
787cb578a1
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ func (h *V1Handler) V1SpecGET(c echo.Context) error {
|
||||||
return c.JSON(response.StatusCode, response)
|
return c.JSON(response.StatusCode, response)
|
||||||
}
|
}
|
||||||
|
|
||||||
response.Data.Spec = fmt.Sprintf("# pave spec for agecem-org %s", version.Version())
|
response.Data.Spec = fmt.Sprintf("# pave spec for agecem-org %s\n", version.Version())
|
||||||
|
|
||||||
for _, route := range h.Pave.SortedRouteStrings() {
|
for _, route := range h.Pave.SortedRouteStrings() {
|
||||||
response.Data.Spec = fmt.Sprintf("%s%s", response.Data.Spec, route)
|
response.Data.Spec = fmt.Sprintf("%s%s", response.Data.Spec, route)
|
||||||
|
|
Loading…
Reference in a new issue