Discussions

Ask a Question
Back to All

default language sample bug

I am currently using your ReadMe service and have encountered a bug.

My documentation is auto-generated via Swagger, and my language-sample configuration appears as follows:

"x-readme": {
"samples-languages": ["python", "curl", "node", "ruby", "php"],
}

Since Python is listed first, followed by Curl, I expect Python to be the default language. However, there are instances (especially when using the Firefox browser) where the system defaults to Curl when switching from one endpoint to another. Could you please explain why this happens? I want Python to be the default selection."