83 return nil
84}
85
86func assemblePaths(r *router, app *app) (error, openapi3.Paths) { 87 paths := openapi3.Paths{}
88 for _, route := range r.getAppRoutes()[app.name] {
89 pathItem := openapi3.PathItem{}
Per convention, a function's error value should be its last return value.