Skip to content
This repository has been archived by the owner on Jul 27, 2020. It is now read-only.

define the response payloads for the markdown endpoints #660

Open
shiftkey opened this issue Feb 19, 2020 · 0 comments · May be fixed by #661
Open

define the response payloads for the markdown endpoints #660

shiftkey opened this issue Feb 19, 2020 · 0 comments · May be fixed by #661
Labels
feature New feature or request

Comments

@shiftkey
Copy link
Member

  • endpoint scope: Markdown
  • endpoint name : "Render an arbitrary Markdown document" and "Render a Markdown document in raw mode"
  • route: /markdown and /markdown/raw
  • documentation URL: https://developer.github.com/v3/markdown/

Current specification

"responses": { "200": { "description": "response" } },

and

"responses": { "200": { "description": "response" } },

I expected

Something indicating the response is text/html, e.g:

"responses": {
  "200": {
    "description": "response",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

PR incoming, I can't seem to get the failing tests to pass locally but that's fine.

@shiftkey shiftkey linked a pull request Feb 19, 2020 that will close this issue
@gr2m gr2m added the feature New feature or request label May 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants