Skip to content

Commit aff02c2

Browse files
committed
Detailed doc string on /package/{name}.json
1 parent 5b0d3b0 commit aff02c2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Distribution/Server/Features/PackageInfoJSON.hs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ initPackageInfoJSONFeature env = do
8585
return $ \core preferred -> do
8686

8787
let coreR = coreResource core
88-
info = "Get basic package information"
88+
info = "Get basic package information: \
89+
\The response contains a JSON object where the keys are version numbers as strings, \
90+
\and the values are whether the version is preferred or not"
8991
vInfo = "Get basic package information at a specific metadata revision"
9092

9193
jsonResources = [

0 commit comments

Comments
 (0)