Discussions
swagger file import issue
Hi When i try to import a swagger file , i am gettign the below error:
```
Swagger schema validation failed.
ADDITIONAL PROPERTY must NOT have additional properties
307 | "type": "number"
308 | },
> 309 | "format": "double",
| ^^^^^^^^ 😲 format is not expected to be here!
310 | "allowEmptyValue": false
311 | },
312 | {
```
Posted by Kumar Rishav about 2 years ago
What's the markdown for a code block that displays the language type?
What is the markdown required to emulate what you get when using the Code Sample widget? I found [your documentation](https://rdmd.readme.io/docs/code-blocks) on how to write the markdown for a tabbed code block with a title in each tab, but I don't need two interactive tabs, just the visual look of two tabs so that the language type is displayed in tab A. In other words, exactly what you get when you use the widget.
I tried viewing an existing page in raw mode, but the language specification seems to be bundled in with the code sample.
```
[block:code]
{
"codes": [
{
"code": "{\n \"result\": [\n {\n \"order_id\": 488,\n \"status\": \"active\",\n \"user\": \"\",\n \"sell\": {\n \"type\": \"ERC721\",\n \"data\": {\n \"id\": \"\",\n \"token_address\": \"\",\n \"quantity\": \"1\",\n \"properties\": {\n \"name\": \"\",\n \"image_url\": \"\",\n \"collection\": {\n \"name\": \"Gods Unchained\",\n \"icon_url\": null\n }\n }\n }\n },\n \"buy\": {\n \"type\": \"ETH\",\n \"data\": {\n \"decimals\": 18,\n \"quantity\": \"1200000000000000\"\n }\n },\n \"fees\": [\n {\n \"type\": \"royalty\",\n \"address\": \"\",\n \"amount\": \"200000000000000\",\n \"token\": {\n \"type\": \"ETH/ERC20\",\n \"data\": {\n \"decimals\": 18,\n \"contract_address\": \"\"\n }\n }\n }\n ],\n \"amount_sold\": null,\n \"expiration_timestamp\": \"2120-08-25T04:00:00Z\",\n \"timestamp\": \"2021-08-25T04:33:19.85441Z\",\n \"updated_timestamp\": \"2021-08-25T04:33:19.85441Z\"\n }\n ],\n \"cursor\": \"...\",\n \"remaining\": 0\n}",
"language": "javascript"
}
]
}
[/block]
```
Posted by Carlee Potter about 2 years ago
API Bearer Authentication
How to configure the API Reference section to show Bearer Token input field?
Noting that I am not using OpenAPI, as I am building the reference section manually from the website (dash.readme)
![](https://files.readme.io/35723de-image.png)
Posted by Sherif Ashraf almost 2 years ago
reviewing documents
What is the suggested workflow in Readme for SMEs to review and comment on both published and unpublished content?
Posted by Don Glover about 2 years ago
Enable site login
I wonder is it possible to enable some sort of authentication to the site that is generated by readme? I would like to hide the api information from public user and only show it to some internall group.
Posted by sergiusz almost 3 years ago
Custom Login Flow admin roles
Hi there,
Currently admins for API are logged in via email. If we add Custom Login Flow will admins still be able to login via emails? Or should we add admin/user roles to custom login callback JWT?
Posted by Viktor Molokostov almost 3 years ago
Support to override Servers on a specific path in readme?
<https://swagger.io/docs/specification/api-host-and-base-path/> see section "Overriding Servers"
This doesn't seems to work in readme. However it is supported in Swagger.
Is this somewhere planned?
Posted by Tom Bossink over 1 year ago
Table overflow on data model page
Hello all,
I am creating a page for a (bit complex) data model, and the table breaks the size of the page: https://docs.tokeny.com/docs/onchainid-standard-schema#config (scroll to the bottom of the page)
Is there a way to fix it easily?
Thanks a lot
Posted by Tony Malghem about 3 years ago
Ambiguity in image uploads
Hey
There seems to be an issue in image uploads in the API explorer try it section, where some files get converted to base64 format, whereas the rest don't. Files which have non-alphanumeric characters seem to be getting converted into base64.
Below screenshot highlights the issue where file named as **sample_selfie** is converted to base64 whereas **photoForgery** is not.
![image upload](https://drive.google.com/uc?export=view&id=1DatzInxq_uPTs9aM-OHt8Mj-qvxwevPX)
[Screenshot link](https://drive.google.com/uc?export=view&id=1DatzInxq_uPTs9aM-OHt8Mj-qvxwevPX)
Posted by Akash Menon almost 3 years ago
Table overflow
Hi,
I have a table overflow issue: https://docs.rejoiner.com/docs/template-tags#viewed-items--global-product-data
But, I can't add custom CSS to correct it. Is this something that could be addressed by default?
Posted by Mike about 3 years ago