Skip to content

Commit

Permalink
Merge pull request #1344 from haskell/detailed-package-json-docs
Browse files Browse the repository at this point in the history
Detailed doc string on /package/{name}.json
  • Loading branch information
gbaz authored Nov 24, 2024
2 parents 5b0d3b0 + aff02c2 commit d8c8c21
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Distribution/Server/Features/PackageInfoJSON.hs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ initPackageInfoJSONFeature env = do
return $ \core preferred -> do

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

jsonResources = [
Expand Down

0 comments on commit d8c8c21

Please sign in to comment.