Skip to content
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

Idea: Generate an endpoint-specific test console #3

Open
timwis opened this issue Sep 27, 2015 · 0 comments
Open

Idea: Generate an endpoint-specific test console #3

timwis opened this issue Sep 27, 2015 · 0 comments

Comments

@timwis
Copy link

timwis commented Sep 27, 2015

Hey guys, looking forward to seeing this documentation grow! I had an idea a few months ago that might align with your efforts here in making the ArcGIS REST API easier to use.

Tools like swagger generate test consoles based on yaml or json configuration (demo). Basically, the idea is to generate this standards-compliant yaml from the geoservice metadata api. It would pull in all the feature services, and potentially even the field names and types. This could be done on a schedule, by the arcgis server (in future versions), or even on the client. With the configuration file that's produced, you could use something like swagger to generate a test console that's simplified, demonstrates what result a query produced, and lets you copy & paste the query.

We've implemented swagger for our api docs, though to be honest, Socrata's api docs are even easier to use (example). They're open source too. I/O Docs was once a competitor with swagger; not sure if they're still kicking or not.

Anyway, the main takeaway here is providing not just documentation on how to use a geoservices API but generating endpoint-specific documentation / test consoles that theoretically any customer could use (a la how socrata's works with querystrings).

@timwis timwis changed the title Idea: Generate a test console Idea: Generate an endpoint-specific test console Sep 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant