Skip to content

Commit

Permalink
fix(Docs): Adjust schema of v3 for optimal Readme rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
saengel committed Apr 3, 2024
1 parent 713b15e commit 74a6355
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/openAPI.json
Original file line number Diff line number Diff line change
Expand Up @@ -992,16 +992,16 @@
}
},
"name": "return_format",
"description": "This query parameter formats the text that will be returned",
"description": "This parameter formats the text that will be returned from the `v3` `texts/` API. It can have one of four values:\n1. `text_only` - This strips footnotes, inline references and all html tags from the returned text\n2. `strip_only_footnotes` - This only strips the footnotes and commentator <i> tags without stripping the other HTML tags.This is useful for the native app, where we do not display footnotes.\n3. `wrap_all_entities` - This wraps the HTML for links and topic links\n4. `default` - This returns the basic text as it’s saved in Sefaria’s DB\n",
"schema": {
"description": "This parameter formats the text that will be returned from the `v3` `texts/` API. It can have one of four values:\n1. `text_only` - This strips footnotes, inline references and all html tags from the returned text\n2. `strip_only_footnotes` - This only strips the footnotes and commentator <i> tags without stripping the other HTML tags.This is useful for the native app, where we do not display footnotes.\n3. `wrap_all_entities` - This wraps the HTML for links and topic links\n4. `default` - This returns the basic text as it’s saved in Sefaria’s DB\n",
"type": "string",
"enum": [
'default',
'wrap_all_entities',
'strip_only_footnotes',
'text_only'
]
"default",
"wrap_all_entities",
"strip_only_footnotes",
"text_only"
],
"type": "string",
"default": "default"
},
"in": "query"
}
Expand Down

0 comments on commit 74a6355

Please sign in to comment.