Skip to content

Commit

Permalink
Detailed doc string on /package/{name}.json
Browse files Browse the repository at this point in the history
  • Loading branch information
ysangkok committed Nov 22, 2024
1 parent 5b0d3b0 commit aff02c2
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 aff02c2

Please sign in to comment.