Skip to content

Commit

Permalink
Merge branch '2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkaOnLine committed Sep 28, 2015
2 parents 71cbd23 + ce2eb7c commit b2a67c3
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 23 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
L5 Swagger
==========

Swagger 2.0 for Laravel 5
Swagger 2.0 for Laravel 5.1

This package is a copy of [Swaggervel](https://github.com/slampenny/Swaggervel) adapted to work with Laravel 5 with several tweaks.

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
],
"require": {
"php": ">=5.4.0",
"zircote/swagger-php": "2.*@dev"
"zircote/swagger-php": "~2.0"
},
"autoload": {
"psr-4": {
Expand Down
37 changes: 19 additions & 18 deletions resources/views/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,27 @@
<html>
<head>
<title>Swagger UI</title>
<link href='/vendor/l5-swagger/css/typography.css' media='screen' rel='stylesheet' type='text/css'/>
<link href='/vendor/l5-swagger/css/reset.css' media='screen' rel='stylesheet' type='text/css'/>
<link href='/vendor/l5-swagger/css/screen.css' media='screen' rel='stylesheet' type='text/css'/>
<link href='/vendor/l5-swagger/css/reset.css' media='print' rel='stylesheet' type='text/css'/>
<link href='/vendor/l5-swagger/css/screen.css' media='print' rel='stylesheet' type='text/css'/>
<script type="text/javascript" src="/vendor/l5-swagger/lib/shred.bundle.js"></script>
<script src='/vendor/l5-swagger/lib/jquery-1.8.0.min.js' type='text/javascript'></script>
<script src='/vendor/l5-swagger/lib/jquery.slideto.min.js' type='text/javascript'></script>
<script src='/vendor/l5-swagger/lib/jquery.wiggle.min.js' type='text/javascript'></script>
<script src='/vendor/l5-swagger/lib/jquery.ba-bbq.min.js' type='text/javascript'></script>
<script src='/vendor/l5-swagger/lib/handlebars-2.0.0.js' type='text/javascript'></script>
<script src='/vendor/l5-swagger/lib/underscore-min.js' type='text/javascript'></script>
<script src='/vendor/l5-swagger/lib/backbone-min.js' type='text/javascript'></script>
<script src='/vendor/l5-swagger/lib/swagger-client.js' type='text/javascript'></script>
<script src='/vendor/l5-swagger/swagger-ui.js' type='text/javascript'></script>
<script src='/vendor/l5-swagger/lib/highlight.7.3.pack.js' type='text/javascript'></script>
<script src='/vendor/l5-swagger/lib/marked.js' type='text/javascript'></script>
<link href={{URL::asset('/vendor/l5-swagger/css/typography.css')}} media='screen' rel='stylesheet'
type='text/css'/>
<link href={{URL::asset('/vendor/l5-swagger/css/reset.css')}} media='screen' rel='stylesheet' type='text/css'/>
<link href={{URL::asset('/vendor/l5-swagger/css/screen.css')}} media='screen' rel='stylesheet' type='text/css'/>
<link href={{URL::asset('/vendor/l5-swagger/css/reset.css')}} media='print' rel='stylesheet' type='text/css'/>
<link href={{URL::asset('/vendor/l5-swagger/css/screen.css')}} media='print' rel='stylesheet' type='text/css'/>
<script type="text/javascript" src={{URL::asset("/vendor/l5-swagger/lib/shred.bundle.js")}}></script>
<script src={{URL::asset('/vendor/l5-swagger/lib/jquery-1.8.0.min.js')}} type='text/javascript'></script>
<script src={{URL::asset('/vendor/l5-swagger/lib/jquery.slideto.min.js')}} type='text/javascript'></script>
<script src={{URL::asset('/vendor/l5-swagger/lib/jquery.wiggle.min.js')}} type='text/javascript'></script>
<script src={{URL::asset('/vendor/l5-swagger/lib/jquery.ba-bbq.min.js')}} type='text/javascript'></script>
<script src={{URL::asset('/vendor/l5-swagger/lib/handlebars-2.0.0.js')}} type='text/javascript'></script>
<script src={{URL::asset('/vendor/l5-swagger/lib/underscore-min.js')}} type='text/javascript'></script>
<script src={{URL::asset('/vendor/l5-swagger/lib/backbone-min.js')}} type='text/javascript'></script>
<script src={{URL::asset('/vendor/l5-swagger/lib/swagger-client.js')}} type='text/javascript'></script>
<script src={{URL::asset('/vendor/l5-swagger/swagger-ui.js')}} type='text/javascript'></script>
<script src={{URL::asset('/vendor/l5-swagger/lib/highlight.7.3.pack.js')}} type='text/javascript'></script>
<script src={{URL::asset('/vendor/l5-swagger/lib/marked.js')}} type='text/javascript'></script>

<!-- enabling this will enable oauth2 implicit scope support -->
<script src='/vendor/l5-swagger/lib/swagger-oauth.js' type='text/javascript'></script>
<script src={{URL::asset('/vendor/l5-swagger/lib/swagger-oauth.js')}} type='text/javascript'></script>
<script type="text/javascript">
$(function () {
var url = window.location.search.match(/url=([^&]+)/);
Expand Down
2 changes: 1 addition & 1 deletion src/Console/PublishAssetsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function fire()
$this->info("Publishing assets files");
$this->call('vendor:publish', array(
'--provider' => 'Darkaonline\L5Swagger\L5SwaggerServiceProvider',
'--tag' => 'assets'
'--tag' => ['assets']
));
}

Expand Down
2 changes: 1 addition & 1 deletion src/Console/PublishConfigCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function fire()
$this->info("Publish config files");
$this->call('vendor:publish', array(
'--provider' => 'Darkaonline\L5Swagger\L5SwaggerServiceProvider',
'--tag' => 'config'
'--tag' => ['config']
));
}

Expand Down
2 changes: 1 addition & 1 deletion src/Console/PublishViewsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function fire()
$this->info("Publishing view files");
$this->call('vendor:publish', array(
'--provider' => 'Darkaonline\L5Swagger\L5SwaggerServiceProvider',
'--tag' => 'views'
'--tag' => ['views']
));
}

Expand Down

0 comments on commit b2a67c3

Please sign in to comment.