Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Pass response schema descriptions through the Markdown parser #246

Merged
merged 1 commit into from
Aug 5, 2019

Conversation

erunion
Copy link
Member

@erunion erunion commented Aug 3, 2019

Response schema descriptions that contain Markdown are not having that Markdown parsed, resulting in improperly formatted content such as the following:

"responses": {
  "403": {
    "description": "No access_token was provided with this request. \n \n The access_token provided is not permitted to access the specified resource. \r \r Person not found",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/RestException"
        }
      }
    }
  },

Screen Shot 2019-08-03 at 12 40 27 AM

And parsed as Markdown:

Screen Shot 2019-08-03 at 12 41 37 AM

@erunion erunion added the type:bug Something isn't working label Aug 3, 2019
@erunion erunion merged commit be2442d into master Aug 5, 2019
@erunion erunion deleted the bug/response-schema-desc-markdown branch August 5, 2019 17:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type:bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants