Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swagger20 #11

Open
wants to merge 1,587 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1587 commits
Select commit Hold shift + click to select a range
868c41f
Merge pull request #2231 from noizbuster/master
fehguy Jun 22, 2016
ee43bcf
Re-render AuthButtonView after 'authorize' button click.
K1ll3rF0x Jun 27, 2016
c70fa70
updated version
fehguy Jun 27, 2016
735354b
Merge pull request #2245 from swagger-api/issue-2244
fehguy Jun 27, 2016
6d09368
rebuilt
fehguy Jun 27, 2016
23bb103
Merge pull request #2243 from K1ll3rF0x/bug/issue-2238
webron Jun 28, 2016
b00ad49
Created by translation is not working
franciscocpg Jun 29, 2016
ce9afa3
Fix: redirect_uri is required in oauth2 code flow, but was null
svenluzar Jul 1, 2016
28ac788
Merge pull request #2248 from franciscocpg/fix-created-by-translation
fehguy Jul 6, 2016
e6ac8bf
Merge pull request #2253 from beemogmbh/master
fehguy Jul 7, 2016
6d7ede7
Clarify auth header documentation
wasbazi Jul 12, 2016
432f719
Merge pull request #2272 from wasbazi/clarify-auth-headers
fehguy Jul 13, 2016
680f3bd
merged
fehguy Jul 15, 2016
001d3a0
rebuilt
fehguy Jul 15, 2016
09734e3
Merge branch 'tellnes-oauth2'
fehguy Jul 15, 2016
db1d742
rebuilt
fehguy Jul 15, 2016
515f142
merged
fehguy Jul 21, 2016
0d250ac
Merge branch 'bodnia-issue-2221'
fehguy Jul 21, 2016
cc2d47a
merged
fehguy Jul 21, 2016
b5ec593
Merge branch 'sebastianwahn-master'
fehguy Jul 21, 2016
f3ec1b6
fix options.oauth2RedirectUrl to work
tcaesvk Jul 21, 2016
571313d
fixes #2167
bodnia Jul 21, 2016
721ce21
rebuilt
fehguy Jul 21, 2016
4f95427
rebuilt
fehguy Jul 21, 2016
c4b9d29
merged
fehguy Jul 21, 2016
36ac0c1
Merge branch 'bodnia-issue-2167'
fehguy Jul 21, 2016
6f8599d
Merge pull request #2289 from tcaesvk/master
fehguy Jul 21, 2016
829da6d
rebuilt
fehguy Jul 21, 2016
060c25a
updated swagger-js version
fehguy Jul 21, 2016
8093ff6
rebuilt
fehguy Jul 21, 2016
b2f82f8
updated version
fehguy Jul 21, 2016
c801f03
Update README.md
webron Jul 21, 2016
08402d2
optimize png images using zopflipng
PeterDaveHello Jul 22, 2016
c7c910c
set default oauth scope separator to whitespace
cbornet Jul 22, 2016
4cb3a01
if param.schema doesn't exist, then the line will fail
mikexliu-st Jul 28, 2016
225d18e
updated swagger-client
fehguy Jul 29, 2016
63e5f75
fixes #2306
bodnia Aug 3, 2016
e991c70
Merge pull request #2311 from bodnia/feature/issue-2306
webron Aug 3, 2016
cd57350
fix hitting return key in HeaderView
msuess Aug 4, 2016
4414946
Merge pull request #2313 from msuess/fix-return-key-header
fehguy Aug 4, 2016
6a00aa8
Merge branch 'feature/issue-2306_' of /Users/bodnia/Documents/work/pr…
bodnia Aug 8, 2016
a35a145
fixes #2306 build
bodnia Aug 8, 2016
1bb5b42
removed commented code
bodnia Aug 8, 2016
20daf3c
added version into handlebars file name
bodnia Aug 9, 2016
c51c683
fixed failing jshint
bodnia Aug 9, 2016
57c4b7d
updated versions
fehguy Aug 10, 2016
639cf85
Merge branch 'bodnia-feature/issue-2306_'
fehguy Aug 10, 2016
bcce19f
updated swagger-js version
fehguy Aug 10, 2016
ec5641a
Merge branch 'fix_scope_separator' of https://github.com/cbornet/swag…
fehguy Aug 10, 2016
d3bf3b9
updated in source
fehguy Aug 10, 2016
f4a5410
Merge branch 'cbornet-fix_scope_separator'
fehguy Aug 10, 2016
aa31d9a
Merge pull request #2293 from PeterDaveHelloKitchen/image-optimize
fehguy Aug 10, 2016
8e3a898
merged
fehguy Aug 10, 2016
942df5e
Merge branch 'gavioto-patch-1'
fehguy Aug 10, 2016
4d08591
Merge branch 'master' of github.com:swagger-api/swagger-ui
fehguy Aug 10, 2016
465164e
Merge pull request #1656 from dalbani/patch-1
fehguy Aug 10, 2016
dd75674
Merge branch 'master' of https://github.com/mikexliu/swagger-ui into …
fehguy Aug 10, 2016
ef0c392
simplified logic
fehguy Aug 10, 2016
7e27c77
Merge branch 'mikexliu-master'
fehguy Aug 10, 2016
432d279
Merge branch 'master' of github.com:swagger-api/swagger-ui
fehguy Aug 10, 2016
7aa075f
rebuilt
fehguy Aug 10, 2016
36c5fd8
rebuilt
fehguy Aug 10, 2016
5df5a8a
updated readme
fehguy Aug 10, 2016
6c4ccf7
Merge pull request #1660 from dalbani/patch-2
fehguy Aug 11, 2016
11f1263
fix for xss issue
bodnia Aug 17, 2016
eaf59c1
fixed sanitize handlebars helper to accept not only strings
bodnia Aug 18, 2016
45ec53e
fixed expand operation by click
bodnia Aug 18, 2016
826bfcc
added test spec
fehguy Aug 19, 2016
a1aea70
fixed tag xss issue
bodnia Aug 23, 2016
a906cff
Merge pull request #2334 from bodnia/feature/xss
fehguy Aug 23, 2016
d146b01
updated release versions
fehguy Aug 23, 2016
0384df0
Add composer.json
teohhanhui Aug 24, 2016
d3856a8
fixes #2346 remove unnecessary escaping of model signature
bodnia Aug 24, 2016
a5c8f22
Added catalan translation
sargue Aug 24, 2016
2915a16
Merge pull request #2350 from bodnia/fixes-model-xss
fehguy Aug 24, 2016
084625b
Merge pull request #2347 from teohhanhui/composer-json
fehguy Aug 24, 2016
ee1698e
Merge pull request #2351 from sargue/lang-ca
fehguy Aug 24, 2016
48e7bc1
updated versions
fehguy Aug 24, 2016
f87eaaa
replaced satinize with sanitize-html
bodnia Sep 1, 2016
c385e24
moved sanitize-html to swagger-ui instead of calling in index.html
bodnia Sep 1, 2016
87438ad
updated version
fehguy Sep 1, 2016
dab8c4a
Merge branch 'bodnia-feature/add-sanitize-html'
fehguy Sep 1, 2016
1ce3dad
fix params showing as undefined
jt1796 Sep 4, 2016
1a98574
Merge pull request #2383 from jt1796/param-fix
fehguy Sep 5, 2016
f321c62
rebuilt
fehguy Sep 8, 2016
15f76ad
updated js lib
fehguy Sep 15, 2016
4bdaeba
treat blobs as binary, render images w/o image url
fehguy Sep 15, 2016
80e548d
no more blob conversions
fehguy Sep 15, 2016
cf96414
removed unused var
fehguy Sep 15, 2016
9fee08d
updated versions
fehguy Sep 16, 2016
656808b
Merge pull request #2404 from swagger-api/issue-2132
fehguy Sep 16, 2016
e3d5ad2
rebuilt for release
fehguy Sep 20, 2016
f508519
Merge pull request #2414 from swagger-api/release-prepare
fehguy Sep 20, 2016
f7424a7
updated README
fehguy Sep 20, 2016
2cbe939
Fix handlerbars script in package.json
MugeSo Sep 13, 2016
7d37b75
updated swagger-client version
fehguy Sep 26, 2016
f92d6dd
Merge pull request #2416 from MugeSo/fix-build-on-windows
fehguy Sep 26, 2016
b4acbbb
rebuilt, updated versions
fehguy Sep 26, 2016
f5a0db2
merged with master
fehguy Sep 26, 2016
e9ab52f
Merge pull request #2426 from swagger-api/release-prepare
fehguy Sep 26, 2016
36af368
Update README.md
fehguy Sep 27, 2016
87ef5c1
Fix font src attribute
chuck-g Sep 28, 2016
08b283c
Merge pull request #2429 from chuck-g/patch-1
fehguy Sep 29, 2016
7878cea
updated swagger-js version
fehguy Sep 29, 2016
e098b3a
Merge branch 'master' of github.com:swagger-api/swagger-ui
fehguy Sep 29, 2016
855b6c3
merged
fehguy Sep 29, 2016
d2c9189
Feature: add responseHooks option for callbacks on responses
dolmen Sep 26, 2016
66f3c36
Update Japanese messages
hnakamur Oct 3, 2016
2e3304c
Merge pull request #2437 from hnakamur/update_japanese_messages
fehguy Oct 3, 2016
6a27140
Update zh_cn.js add 3 translate
anjia0532 Oct 12, 2016
e506c5b
updated swagger-client version
fehguy Oct 13, 2016
2ad57ca
added type check
fehguy Oct 13, 2016
81bf447
Merge pull request #2451 from swagger-api/issue-2439
fehguy Oct 13, 2016
d1539a7
Merge pull request #2449 from anjia0532/master
fehguy Oct 14, 2016
73e2cd2
updated translate
fehguy Oct 14, 2016
552865a
updated release
fehguy Oct 14, 2016
d9b3db4
Initial Greek language translation
spapad Oct 25, 2016
3fb29ec
Merge pull request #2464 from spapad/el-lang
fehguy Oct 25, 2016
60cf928
Added meta tag to force IE11 to use edge document mode
Oct 31, 2016
1dc7094
Use filename from content-disposition in a download link
Nov 1, 2016
fede96b
Fix tag names in README
dsem Nov 3, 2016
1f2a5d7
Merge pull request #2481 from dsem/fix-tags-in-README
fehguy Nov 3, 2016
085d84e
Add tasks to gulpfile to minify all CSS and JS libs when building dist
hunt3ri Nov 4, 2016
5f2beb1
Add missing semi-colon
hunt3ri Nov 4, 2016
7166ba7
Fix typo in el translation; Supply el.js to dist/
spapad Nov 4, 2016
bf60526
Merge pull request #2487 from spapad/el-lang-fix
fehguy Nov 4, 2016
1b18429
Avoid using Facebook garbage fragment to complete login
joelittlejohn Nov 7, 2016
a63dc0c
use model variables instead of window
fehguy Nov 14, 2016
81e897a
checks for window
fehguy Nov 14, 2016
3bd4259
Extend list of allowed tags to fix Model rendering. Fixes 2504
Vayu Nov 17, 2016
5f9fd93
Reorder vars as per review request
hunt3ri Nov 17, 2016
2cd11ef
Merge pull request #2506 from swagger-api/issue-2499
fehguy Nov 18, 2016
edeba22
Use gulp-sourcemaps to generate a sourcemap
richvdh Nov 21, 2016
46fbae2
Merge pull request #2513 from matrix-org/rav/fix_sourcemaps
fehguy Nov 22, 2016
bc494da
fix authorization code grant to work
tcaesvk Nov 22, 2016
47ab2a3
added sanitization of scopes per #2483
fehguy Nov 23, 2016
4885a8a
updated version
fehguy Nov 23, 2016
da7ec89
rebuilt
fehguy Nov 23, 2016
30f0848
Merge pull request #2521 from swagger-api/issue-2483
fehguy Nov 23, 2016
65d8174
blob handling, render download link for application/octet-stream
fehguy Nov 23, 2016
5d75d7d
rebuilt
fehguy Nov 23, 2016
7e426ac
preservation, proper parsing of examples
fehguy Nov 24, 2016
20aa964
Merge branch 'issue-2427'
fehguy Nov 24, 2016
83468e6
updated swagger-js version
fehguy Nov 24, 2016
49a1169
merged
fehguy Nov 24, 2016
95553a5
Merge pull request #2514 from tcaesvk/master
fehguy Nov 24, 2016
ee35564
Merge branch 'fix_model_rendering' of https://github.com/Vayu/swagger…
fehguy Nov 24, 2016
941b3fe
rebuilt
fehguy Nov 24, 2016
4b63c70
Merge branch 'master' of github.com:swagger-api/swagger-ui
fehguy Nov 24, 2016
1d9365d
Merge branch 'Vayu-fix_model_rendering'
fehguy Nov 24, 2016
0dfc59f
Merge pull request #2489 from joelittlejohn/patch-1
fehguy Nov 24, 2016
770fcc1
Merge branch 'minify-dist-tasks' of https://github.com/thinkWhere/swa…
fehguy Nov 24, 2016
99b3518
Merge branch 'thinkWhere-minify-dist-tasks'
fehguy Nov 24, 2016
9e5c4b2
rebuilt
fehguy Nov 24, 2016
d963302
only pass selected scopes
fehguy Nov 24, 2016
2351583
Merge pull request #2527 from swagger-api/issue-2497
fehguy Nov 24, 2016
3c0fac2
removed blob special logic for strings
fehguy Nov 24, 2016
c04b81c
Merge pull request #2529 from swagger-api/issue-2528
fehguy Nov 24, 2016
776325b
updated version
fehguy Nov 24, 2016
7cdf83a
Implement OAuth2 password flow
MugeSo Sep 10, 2016
f2a1caa
Add validation for oauth password flow
MugeSo Nov 12, 2016
3494d44
Implement OAuth2 client authentication for password and application flow
MugeSo Nov 12, 2016
5def48c
Fix jsonEditor parameters when an operation is on multiple tags
Nov 25, 2016
90f6410
On complete, ignore fragments that don't contain useful information
joelittlejohn Nov 27, 2016
7e1a02b
Merge pull request #2534 from joelittlejohn/test-fragment
fehguy Nov 28, 2016
a0cce8e
Merge pull request #2532 from stephaneLeroy/master
fehguy Nov 28, 2016
842f477
Enable CORS by default in the nginx file
whoan Nov 29, 2016
bfc6dbd
Merge pull request #2540 from whoan/patch-1
fehguy Nov 29, 2016
f8e5e57
create required directory to store nginx pid
wangchunyang Dec 1, 2016
7f0de63
Use absolute path for root directory
wangchunyang Dec 1, 2016
4e234cc
Merge pull request #2549 from wangchunyang/master
fehguy Dec 2, 2016
0f12d5d
Resizable container for "Model Schema"
IlyaPomaskin Dec 2, 2016
3787de8
[CSS] Remove refs to images that don't exist anymore.
Dec 5, 2016
0b7c6f0
Merge pull request #2557 from xor-xor/missing-images
fehguy Dec 5, 2016
2ba1c10
Merge pull request #2397 from MugeSo/implement-oauth2-password-flow
webron Dec 6, 2016
878dad2
Fix escaping resource name.
Sep 1, 2016
26d8ace
Add option "showOperationIds"
tobigun Dec 18, 2016
37d158b
Issue #2460 Use only one class= in param_required isFile
turkeylurkey Dec 21, 2016
8155330
Change to set name for array elements from items.xml.name if it is se…
ritesh-garg Dec 22, 2016
8b01247
Change to fix the naming for elements for an array from the element n…
ritesh-garg Dec 22, 2016
af068f7
Merge branch 'issue-2577' of https://github.com/ritesh-garg/swagger-u…
ritesh-garg Dec 23, 2016
d9e14e1
Commenting getName function as names are now determined beforehand an…
ritesh-garg Dec 23, 2016
1142f01
Adding the check for model.definition
ritesh-garg Dec 24, 2016
fd3eb4f
Read token name using function
Dec 29, 2016
7ca8cde
Read token name using function in auth view
Dec 29, 2016
43760ec
Prefer tokenName as vendor extension
Dec 29, 2016
4f467b4
Prefer tokenName as vendor extension in auth view
Dec 29, 2016
353c8a3
updated swagger-js, rebuilt
fehguy Jan 2, 2017
6bfec97
updated version
fehguy Jan 2, 2017
fa5de88
Merge pull request #2581 from ritesh-garg/issue-2577
fehguy Jan 2, 2017
78b3678
Merge pull request #2587 from moses-palmer/feature-token-as-vendor-pr…
fehguy Jan 2, 2017
f8db172
merged
fehguy Jan 2, 2017
1e19281
Merge branch 'turkeylurkey-2460-requiredFile'
fehguy Jan 2, 2017
f386054
Merge pull request #2568 from tobigun/showOperationIds
fehguy Jan 2, 2017
2905068
Merge pull request #2553 from IlyaPomaskin/patch-1
fehguy Jan 2, 2017
6a753a4
Merge pull request #2558 from sreeshas/topic/sreeshas/fix_escape_reso…
fehguy Jan 2, 2017
e4c2236
Merge pull request #2474 from simo9000/master
fehguy Jan 2, 2017
ed6a330
merged
fehguy Jan 2, 2017
c0ab1dd
Merge branch 'Pchelolo-filename'
fehguy Jan 2, 2017
38750ae
Merge pull request #2424 from dolmen/feature/responseHooks
fehguy Jan 2, 2017
68cd5d0
updated with master
fehguy Jan 2, 2017
b055fb1
rebuilt
fehguy Jan 2, 2017
cb5f9b6
added docker push
fehguy Jan 2, 2017
daf225e
added docker to travis
fehguy Jan 2, 2017
921f76e
updated readme
fehguy Jan 2, 2017
5ca6c89
Merge pull request #2592 from swagger-api/issue-2591
fehguy Jan 2, 2017
02da09e
updated readme
fehguy Jan 2, 2017
fdbdf17
updated script
fehguy Jan 2, 2017
0d41d7d
updated script
fehguy Jan 2, 2017
6763652
updated script
fehguy Jan 2, 2017
0f7aa45
rebuilt
fehguy Jan 2, 2017
4fe23ac
rebuilt
fehguy Jan 2, 2017
10ad489
updated script
fehguy Jan 2, 2017
d9e81fd
fixed tagging
fehguy Jan 3, 2017
5846014
empty string check
fehguy Jan 3, 2017
6736131
Replace resource ID special characters to fix path expansion issue
Dec 16, 2016
90021ad
Merge pull request #2567 from monkeyFeathers/swagger-ui#2561
fehguy Jan 5, 2017
d073c0a
removed `extend`, which made the operation object unreachable
fehguy Jan 5, 2017
8b877ca
Merge pull request #2597 from swagger-api/issue-2593
fehguy Jan 5, 2017
35d8dc1
bumped version
fehguy Jan 5, 2017
6e7f2ef
Merge branch 'issue-2593'
fehguy Jan 5, 2017
a7aea67
applied swagger-js patch
fehguy Jan 5, 2017
ae4961d
updated versions
fehguy Jan 5, 2017
64dc306
updated versions
fehguy Jan 5, 2017
0e2272b
Fix grammar error in readme.md
Jan 5, 2017
2972c3c
Merge pull request #2600 from eikonomega/patch-1
fehguy Jan 5, 2017
c9d2a70
Update README.md
webron Jan 11, 2017
d8a83c6
Fix: Swagger-ui not displayed when parameter schema is missing
oprince Jan 12, 2017
a676aba
updated swagger-js version
fehguy Jan 12, 2017
3e585d6
rebuilt
fehguy Jan 12, 2017
a83a1ce
Update README.md
fehguy Jan 13, 2017
27b1eb9
Fix: Swagger-ui not displayed when parameter schema is missing
oprince Jan 15, 2017
38f7416
Merge pull request #2612 from oprince/master
fehguy Jan 23, 2017
5da72aa
changes to prevent the parameter description column from expanding (e…
banders Feb 18, 2017
0993e78
Minor typo fixes
stephendonner Feb 22, 2017
3b4cbeb
Merge pull request #2684 from stephendonner/typos
fehguy Feb 22, 2017
911b9e0
Update jsoneditor from v0.7.22 to v0.7.28 (Fixes #2659)
scottohara Feb 22, 2017
6f1b09e
Merge pull request #2685 from scottohara/json-editor-v0.7.28
fehguy Feb 22, 2017
b2e313f
Attach nginx process to PID 1 so the container can be stopped properly.
janpapenbrock Feb 23, 2017
0beaf61
Merge pull request #2691 from hochzehn/docker-exitable
fehguy Feb 24, 2017
91381ff
Point 2.2.10 tag url to correct tag
jessemcdowell-AI Feb 27, 2017
61d5e98
Merge pull request #2701 from jessemcdowell-AI/patch-1
webron Feb 27, 2017
ccf7f03
Merge pull request #2677 from banders/param-descriptions-cutoff
fehguy Mar 2, 2017
cddb022
added language support German
raupach-e2n Mar 24, 2017
1a11eb9
Merge pull request #2781 from raupachz/2.x
webron Mar 24, 2017
5eebb4c
Create pt-br.js
aline-matos Apr 7, 2017
7e72281
Merge pull request #2883 from aline-matos/patch-1
webron Apr 7, 2017
bfe5589
Add translations for each Authorize tag
May 26, 2017
c7439c7
Merge pull request #3134 from ZuzannaSt/2.x
webron May 30, 2017
e7c6991
Point the api-doc to the currect position
amnonh Jun 25, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.git
node_modules
bower_components
*.swp
15 changes: 15 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
* text eol=lf
src/**/*.ttf binary
dist/**/*.js binary
dist/**/*.ttf binary
dist/**/*.map binary
dist/**/*.eot binary
dist/**/*.svg binary
dist/**/*.ttf binary
dist/**/*.woff binary
dist/**/*.woff2 binary
dist/**/*.png binary
dist/*.html text

src/main/html/fonts/*.ttf binary
src/main/html/images/*.png binary
15 changes: 5 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@
wordnik*.zip
.DS_STORE
*.ipr
*.iml
*.iws
lib/*.jar
META-INF/
*.flags.json
npm-debug.log
web/
index
lib/*.zip
dk/
index_dict
logs
src/main/java/com/wordnik/env/Version.scala
lib/*.pom
version.properties
reports/*
.sass-cache
swagger-ui.sublime-workspace
.idea
.project
node_modules/*
/nbproject/private/
dist/specs/
test/specs/local/
5 changes: 5 additions & 0 deletions .jshintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
src/main/javascript/doc.js
dist
lib
.log
41 changes: 41 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"node": true,
"browser": true,
"esnext": true,
"bitwise": true,
"curly": true,
"eqeqeq": true,
"immed": true,
"indent": 2,
"latedef": false,
"newcap": true,
"noarg": true,
"quotmark": "single",
"regexp": true,
"undef": true,
"unused": true,
"strict": true,
"trailing": true,
"smarttabs": true,
"validthis": true,
"globals": {

// Libraries
"_": false,
"$": false,
"Backbone": false,
"Handlebars": false,
"jQuery": false,
"marked": false,
"SwaggerClient": false,
"hljs": false,
"SwaggerUi": false,
"jsyaml": false,
"define": false,
"sanitizeHtml": false,

// Global object
// TODO: remove these
"Docs": false
}
}
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ example.html
.classpath
.project
.npmignore
dist/sample.html
dist/spec.js
node_modules
23 changes: 23 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
sudo: false
language: node_js
services:
- docker
node_js:
- '4.2'
install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- npm i -g jshint
- npm install
env:
- DOCKER_IMAGE_NAME=swaggerapi/swagger-ui
after_success:
- if [ $DOCKER_HUB_USERNAME ]; then
docker login --email=$DOCKER_HUB_EMAIL --username=$DOCKER_HUB_USERNAME --password=$DOCKER_HUB_PASSWORD;
docker build -t $DOCKER_IMAGE_NAME .;
if [ "$TRAVIS_TAG" != "master" && -z "$TRAVIS_TAG"]; then
docker tag $DOCKER_IMAGE_NAME $DOCKER_IMAGE_NAME:$TRAVIS_TAG;
fi;

docker push $DOCKER_IMAGE_NAME;
fi;
3 changes: 3 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SwaggerUI uses [SwaggerJS](https://github.com/swagger-api/swagger-js) library for many internal operations. If you see errors in swagger-client.js code, you should probably open the issue in [SwaggerJS](https://github.com/swagger-api/swagger-js) repository.

Please open issues related to OpenAPI Specifications in [OpenAPI Specs](https://github.com/OAI/OpenAPI-Specification) repository.
132 changes: 0 additions & 132 deletions Cakefile

This file was deleted.

13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM alpine:3.4

MAINTAINER Roman Tarnavski

RUN apk add --update nginx
RUN mkdir -p /run/nginx

COPY nginx.conf /etc/nginx/
ADD ./dist/ /usr/share/nginx/html

EXPOSE 8080

CMD exec nginx -g 'daemon off;'
3 changes: 3 additions & 0 deletions ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
When reporting a bug, please provide the following details:
- swagger-ui version
- a swagger file reproducing the issue
11 changes: 11 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Copyright 2016 SmartBear Software

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at [apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Loading