-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to reverse order of resources on dashboard and documents #382
Comments
As described on the dashboard page footer, resources are currently listed in matching order. It's possible to create multiple resources that could, by using simple tokens, all match the same incoming request URL. For example, if you had these two resources: I understand that we have some competing priorities in play here. The matching order is useful information to have for the api developers, but the average api consumer doesn't really care about that. I'm very open to ideas on how we can serve both audiences well. For what it's worth, there are other efforts in progress to bring something like a dynamic filter-as-you-type feature to the dashboard. Would that be useful enough that the sort order is less important? |
I needed to do something similar and I found there's a docspath in the config so in my variables.framework I set |
@atuttle there might be an opportunity for a config option to specify the dashboard/docs display order and integrate that into the core |
Currently the function to list the resources on the dashboard and in the docs is
desc
Can there be a
local.defaultConfig
var in thesetupFramework
function ofapi.cfc
that allows you to choose the sort order?Right now I have manually changed the
sortURIMatchOrder
function in theapi.cfc
to show them inasc
order to match the file structure.The text was updated successfully, but these errors were encountered: