Content-Length: 257335 | pFad | http://github.com/pixelbrackets/github-docs/commit/344001b359a3da1cfcc344a416fcd24c9e7b9803

9B Update rest.js (#27791) · pixelbrackets/github-docs@344001b · GitHub
Skip to content

Commit 344001b

Browse files
Update rest.js (github#27791)
* Update rest.js * Update rest.js * Update tests/rendering/rest.js Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com> Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
1 parent fe67b3d commit 344001b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/rendering/rest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,6 @@ function formatErrors(differences) {
7878
}
7979
}
8080
errorMessage +=
81-
'This means the categories and subcategories in the content/rest directory do not match the decorated files in lib/static/decorated directory from the OpenAPI schema. Please run `./script/rest/update-files.js --decorate-only` and push up the file changes with your updates.\n'
81+
'If you have made changes to the categories or subcategories in the content/rest directory, either in the frontmatter or the structure of the directory, you will need to ensure that it matches the operations in the OpenAPI description. For example, if an operation is available in GHAE, the frontmatter versioning in the relevant docs category and subcategory files also need to be versioned for GHAE. If you are adding category or subcategory files to the content/rest directory, the OpenAPI dereferenced files must have at least one operation that will be shown for the versions in the category or subcategory files. If this is the case, it is likely that the description files have not been updated from github/github yet. Please contact #docs-engineering or #docs-apis-and-events if you need help.\n'
8282
return errorMessage
8383
}

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/pixelbrackets/github-docs/commit/344001b359a3da1cfcc344a416fcd24c9e7b9803

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy