Skip to content

Commit

Permalink
Remove APIDOCJS annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
meezaan committed Nov 7, 2024
1 parent 85f7f9a commit 7cc87d0
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 1,817 deletions.
2 changes: 0 additions & 2 deletions routes/v1/dateandtime.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
use Slim\Routing\RouteCollectorProxy;

$app->group('/v1', function(RouteCollectorProxy $group) {

$group->map(['GET', 'OPTIONS'],'/currentTime', [Controllers\v1\DateAndTime::class, 'time']);
$group->map(['GET', 'OPTIONS'],'/currentDate', [Controllers\v1\DateAndTime::class, 'date']);
$group->map(['GET', 'OPTIONS'],'/currentTimestamp', [Controllers\v1\DateAndTime::class, 'timestamp']);

});
2 changes: 0 additions & 2 deletions routes/v1/geo.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
use Slim\Routing\RouteCollectorProxy;

$app->group('/v1', function(RouteCollectorProxy $group) {

$group->map(['GET', 'OPTIONS'],'/cityInfo', [Controllers\v1\Geo::class, 'city']);
$group->map(['GET', 'OPTIONS'],'/addressInfo', [Controllers\v1\Geo::class, 'address']);

});
40 changes: 0 additions & 40 deletions routes/v1/timings/methods.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,46 +4,6 @@
use Slim\Routing\RouteCollectorProxy;

$app->group('/v1', function(RouteCollectorProxy $group) {
/**
* @api {get} http://api.aladhan.com/v1/methods Prayer Times Methods
* @apiDescription Returns all the prayer times calculation methods supported by this API. For more information on how to use custom methods, see <a href="https://aladhan.com/calculation-methods" target="_blank">https://aladhan.com/calculation-methods</a>.
* @apiName GetMethods
* @apiGroup Miscellaneous
* @apiVersion 1.0.1
*
* @apiExample {http} Example usage:
* http://api.aladhan.com/v1/methods
*
* @apiSuccessExample Success-Response:
* HTTP/1.1 200 OK
* {
* "code": 200,
* "status": "OK",
* "data": {
* "MWL": {
* "id": 3,
* "name": "Muslim World League",
* "params": {
* "Fajr": 18,
* "Isha": 17
* }
* },
* "ISNA": {
* "id": 2,
* "name": "Islamic Society of North America (ISNA)",
* "params": {
* "Fajr": 15,
* "Isha": 15
* }
* },
* .... More methods
* "CUSTOM": {
* "id": 99
* }
* }
* }
*
**/
$group->map(['GET', 'OPTIONS'],'/methods', [Controllers\v1\Methods::class, 'get']);

});
Loading

0 comments on commit 7cc87d0

Please sign in to comment.