Skip to content

Commit

Permalink
Fix issue with invalid API spec
Browse files Browse the repository at this point in the history
  • Loading branch information
NizarBerjawi committed Aug 27, 2023
1 parent bb1ce4c commit ddcbbbe
Show file tree
Hide file tree
Showing 24 changed files with 33 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class ContinentAlternateNameController extends Controller
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @param \App\Queries\CurrencyQuery $query
Expand Down
4 changes: 2 additions & 2 deletions app/Http/Controllers/Api/V1/ContinentController.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class ContinentController extends Controller
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @OA\Tag(
Expand Down Expand Up @@ -96,7 +96,7 @@ public function index(ContinentQuery $query)
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @return \Illuminate\Http\Response
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Api/V1/ContinentCountryController.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class ContinentCountryController extends Controller
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @return \Illuminate\Http\Response
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class ContinentGeometryController extends Controller
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @param string $code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class CountryAlternateNameController extends Controller
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @param \App\Queries\CurrencyQuery $query
Expand Down
4 changes: 2 additions & 2 deletions app/Http/Controllers/Api/V1/CountryController.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class CountryController extends Controller
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @OA\Tag(
Expand Down Expand Up @@ -94,7 +94,7 @@ public function index(CountryQuery $query)
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @return \Illuminate\Http\Response
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Api/V1/CountryCurrencyController.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class CountryCurrencyController extends Controller
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @param string $code
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Api/V1/CountryFlagController.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class CountryFlagController extends Controller
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @param string $code
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Api/V1/CountryGeometryController.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class CountryGeometryController extends Controller
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @param string $code
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Api/V1/CountryLanguageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class CountryLanguageController extends Controller
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @param string $code
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Api/V1/CountryNeighbourController.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class CountryNeighbourController extends Controller
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @param string $code
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Api/V1/CountryPlaceController.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class CountryPlaceController extends Controller
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @param \App\Queries\FlagQuery $query
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Api/V1/CountryTimeZoneController.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class CountryTimeZoneController extends Controller
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @param string $code
Expand Down
4 changes: 2 additions & 2 deletions app/Http/Controllers/Api/V1/CurrencyController.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class CurrencyController extends Controller
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @OA\Tag(
Expand Down Expand Up @@ -94,7 +94,7 @@ public function index(CurrencyQuery $query)
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @param string $code
Expand Down
4 changes: 2 additions & 2 deletions app/Http/Controllers/Api/V1/FeatureClassController.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class FeatureClassController extends Controller
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @OA\Tag(
Expand Down Expand Up @@ -94,7 +94,7 @@ public function index(FeatureClassQuery $query)
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @return \Illuminate\Http\Response
Expand Down
4 changes: 2 additions & 2 deletions app/Http/Controllers/Api/V1/FeatureCodeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class FeatureCodeController extends Controller
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @OA\Tag(
Expand Down Expand Up @@ -104,7 +104,7 @@ public function index(FeatureCodeQuery $query)
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @return \Illuminate\Http\Response
Expand Down
4 changes: 2 additions & 2 deletions app/Http/Controllers/Api/V1/FlagController.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class FlagController extends Controller
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @OA\Tag(
Expand Down Expand Up @@ -96,7 +96,7 @@ public function index(FlagQuery $query)
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @param string $code
Expand Down
4 changes: 2 additions & 2 deletions app/Http/Controllers/Api/V1/LanguageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class LanguageController extends Controller
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @OA\Tag(
Expand Down Expand Up @@ -94,7 +94,7 @@ public function index(LanguageQuery $query)
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @param \App\Queries\FlagQuery $query
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class PlaceAlternateNameController extends Controller
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @param \App\Queries\PlaceQuery $query
Expand Down
4 changes: 2 additions & 2 deletions app/Http/Controllers/Api/V1/PlaceController.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class PlaceController extends Controller
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @OA\Tag(
Expand Down Expand Up @@ -98,7 +98,7 @@ public function index(PlaceQuery $query)
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @param string $uuid
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Api/V1/PlaceLocationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class PlaceLocationController extends Controller
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @param \App\Queries\PlaceQuery $query
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Api/V1/Spec/OpenApiSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* )
*
* @OA\SecurityScheme(
* securityScheme="Bearer Authentication",
* securityScheme="BearerAuth",
* type="http",
* scheme="bearer",
* in="header",
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Api/V1/StatisticsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class StatisticsController extends Controller
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @OA\Tag(
Expand Down
4 changes: 2 additions & 2 deletions app/Http/Controllers/Api/V1/TimeZoneController.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class TimeZoneController extends Controller
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @OA\Tag(
Expand Down Expand Up @@ -96,7 +96,7 @@ public function index(TimeZoneQuery $query)
* ref="#/components/responses/429"
* ),
*
* security={ {"Bearer Authentication": {}} }
* security={ {"BearerAuth": {}} }
* )
*
* @param string $code
Expand Down

0 comments on commit ddcbbbe

Please sign in to comment.