Skip to content

Commit d8c8c21

Browse files
authored
Merge pull request #1344 from haskell/detailed-package-json-docs
Detailed doc string on /package/{name}.json
2 parents 5b0d3b0 + aff02c2 commit d8c8c21

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)