mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-25 23:32:58 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
77d4cbe0ea | ||
|
|
32a7ab8234 | ||
|
|
95b009a72f |
@@ -1,13 +1,13 @@
|
|||||||
PATH
|
PATH
|
||||||
remote: ./rswag-api
|
remote: ./rswag-api
|
||||||
specs:
|
specs:
|
||||||
rswag-api (1.1.0)
|
rswag-api (1.2.0)
|
||||||
rails (>= 3.1, < 5.1)
|
rails (>= 3.1, < 5.1)
|
||||||
|
|
||||||
PATH
|
PATH
|
||||||
remote: ./rswag-specs
|
remote: ./rswag-specs
|
||||||
specs:
|
specs:
|
||||||
rswag-specs (1.1.0)
|
rswag-specs (1.2.0)
|
||||||
json-schema (~> 2.2)
|
json-schema (~> 2.2)
|
||||||
rails (>= 3.1, < 5.1)
|
rails (>= 3.1, < 5.1)
|
||||||
rspec-rails (>= 2.14, < 4)
|
rspec-rails (>= 2.14, < 4)
|
||||||
@@ -15,7 +15,7 @@ PATH
|
|||||||
PATH
|
PATH
|
||||||
remote: ./rswag-ui
|
remote: ./rswag-ui
|
||||||
specs:
|
specs:
|
||||||
rswag-ui (1.1.0)
|
rswag-ui (1.2.0)
|
||||||
rails (>= 3.1, < 5.1)
|
rails (>= 3.1, < 5.1)
|
||||||
|
|
||||||
GEM
|
GEM
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
module Rswag
|
module Rswag
|
||||||
module Api
|
module Api
|
||||||
VERSION = '1.1.0'
|
VERSION = '1.2.0'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
module Rswag
|
module Rswag
|
||||||
module Specs
|
module Specs
|
||||||
VERSION = '1.1.0'
|
VERSION = '1.2.0'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
module Rswag
|
module Rswag
|
||||||
module Ui
|
module Ui
|
||||||
VERSION = '1.1.0'
|
VERSION = '1.2.0'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -880,7 +880,7 @@
|
|||||||
padding: 6px 8px;
|
padding: 6px 8px;
|
||||||
}
|
}
|
||||||
.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header span.response_throbber {
|
.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header span.response_throbber {
|
||||||
background-image: url('../images/throbber.gif');
|
background-image: url(<%= asset_path('swagger-ui/images/throbber.gif') %>);
|
||||||
width: 128px;
|
width: 128px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
display: block;
|
display: block;
|
||||||
@@ -1222,7 +1222,7 @@
|
|||||||
height: 18px;
|
height: 18px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
background: url(../images/explorer_icons.png) no-repeat;
|
background: url(<%= asset_path('swagger-ui/images/explorer_icons.png') %>) no-repeat;
|
||||||
}
|
}
|
||||||
.swagger-section .authorize__btn_operation_login {
|
.swagger-section .authorize__btn_operation_login {
|
||||||
background-position: 0 0;
|
background-position: 0 0;
|
||||||
@@ -880,7 +880,7 @@
|
|||||||
padding: 6px 8px;
|
padding: 6px 8px;
|
||||||
}
|
}
|
||||||
.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header span.response_throbber {
|
.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header span.response_throbber {
|
||||||
background-image: url('../images/throbber.gif');
|
background-image: url(<%= asset_path('swagger-ui/images/throbber.gif') %>);
|
||||||
width: 128px;
|
width: 128px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
display: block;
|
display: block;
|
||||||
@@ -1222,7 +1222,7 @@
|
|||||||
height: 18px;
|
height: 18px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
background: url(../images/explorer_icons.png) no-repeat;
|
background: url(<%= asset_path('swagger-ui/images/explorer_icons.png') %>) no-repeat;
|
||||||
}
|
}
|
||||||
.swagger-section .authorize__btn_operation_login {
|
.swagger-section .authorize__btn_operation_login {
|
||||||
background-position: 0 0;
|
background-position: 0 0;
|
||||||
@@ -1354,7 +1354,7 @@
|
|||||||
height: 18px;
|
height: 18px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
background: url(../images/explorer_icons.png) no-repeat;
|
background: url(<%= asset_path('swagger-ui/images/explorer_icons.png') %>) no-repeat;
|
||||||
}
|
}
|
||||||
.swagger-section .api-ic .api_information_panel {
|
.swagger-section .api-ic .api_information_panel {
|
||||||
position: relative;
|
position: relative;
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
background: transparent url(../images/logo.png) no-repeat left center;
|
background: transparent url(<%= asset_path('swagger-ui/images/logo.png') %>) no-repeat left center;
|
||||||
padding: 20px 0 20px 40px;
|
padding: 20px 0 20px 40px;
|
||||||
}
|
}
|
||||||
#text-head {
|
#text-head {
|
||||||
@@ -64,7 +64,7 @@ h1 {
|
|||||||
width: 1500px;
|
width: 1500px;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
background-image: url('../images/shield.png');
|
background-image: url(<%= asset_path('swagger-ui/images/shield.png') %>);
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: -40px -20px;
|
background-position: -40px -20px;
|
||||||
margin-bottom: 210px;
|
margin-bottom: 210px;
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
/* Google Font's Droid Sans */
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Droid Sans';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
|
||||||
src: local('Droid Sans'), local('DroidSans'), url('../fonts/DroidSans.ttf'), format('truetype');
|
|
||||||
}
|
|
||||||
/* Google Font's Droid Sans Bold */
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Droid Sans';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 700;
|
|
||||||
src: local('Droid Sans Bold'), local('DroidSans-Bold'), url('../fonts/DroidSans-Bold.ttf'), format('truetype');
|
|
||||||
}
|
|
||||||
14
rswag-ui/vendor/assets/components/swagger-ui/css/typography.css.erb
vendored
Normal file
14
rswag-ui/vendor/assets/components/swagger-ui/css/typography.css.erb
vendored
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
/* Google Font's Droid Sans */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Droid Sans';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
src: local('Droid Sans'), local('DroidSans'), url(<%= asset_path('swagger-ui/fonts/DroidSans.ttf') %>), format('truetype');
|
||||||
|
}
|
||||||
|
/* Google Font's Droid Sans Bold */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Droid Sans';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
src: local('Droid Sans Bold'), local('DroidSans-Bold'), url(<%= asset_path('swagger-ui/fonts/DroidSans-Bold.ttf') %>), format('truetype');
|
||||||
|
}
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
module Rswag
|
module Rswag
|
||||||
VERSION = '1.1.0'
|
VERSION = '1.2.0'
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user