Luracast / Restler-API-Explorer

Restler API Explorer is a tweaked version of Swagger UI, a dependency-free collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
http://luracast.com/products/restler/
94 stars 29 forks source link

explorer endpoint with Restler RC6? #21

Open marcolino opened 7 years ago

marcolino commented 7 years ago

I read the note at the top of the README:

Note:- Newer version of API Explorer that currently targets swagger 1.2 specification is currently bundled with Restler RC6. Use the Explorer class instead of Resources class in the below example and ignore all the steps for building and copying the explorer folder as it is no longer required.

I did use the explorer class. But which is the explorer endpoint? http://mysite.com/myRestlerAPI/explorer gives a 404...

P.S.: I suppose I am on RC6, I am on Version 3.0 Release Candidate 5, but, how to check?

Arul- commented 7 years ago

Version 3.0 Release Candidate 5(RC5) won't have this Explorer class. You can check the version you are using by looking at the api response headers or opening the Restler.php and looking for the @version 3.0.0rc6 comment

We recommend using Restler application template from https://github.com/Luracast/Restler-Application this creates a sample api and adds explorer support