haskell-servant / haskell-servant/servant

servant-docs: Wrong markdowntype javascript for json

Open
#1,358 1 comment 0 reactions 0 assignees View on GitHub
newcomer-friendly
Dominant language
Haskell
Stars
2k
Forks
427
Avg merge
2d 23h
Merged PRs (30d)
5

Description

## Issue

The markdown docs generated for `json` request values, define the code block syntax type as `javascript`. I think it should be `json` instead.

## Cause

https://github.com/haskell-servant/servant/blob/83bbc6d5208d2a121490624551e32af83536d1e2/servant-docs/src/Servant/Docs/Internal.hs#L776

## Examples

https://github.com/haskell-servant/servant/search?q=javascript

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.