├── src └── main │ ├── webapp │ ├── images │ │ ├── favicon.ico │ │ ├── throbber.gif │ │ ├── logo_small.png │ │ ├── wordnik_api.png │ │ ├── explorer_icons.png │ │ ├── favicon-16x16.png │ │ ├── favicon-32x32.png │ │ └── pet_store_api.png │ ├── fonts │ │ ├── droid-sans-v6-latin-700.eot │ │ ├── droid-sans-v6-latin-700.ttf │ │ ├── droid-sans-v6-latin-700.woff │ │ ├── droid-sans-v6-latin-700.woff2 │ │ ├── droid-sans-v6-latin-regular.eot │ │ ├── droid-sans-v6-latin-regular.ttf │ │ ├── droid-sans-v6-latin-regular.woff │ │ └── droid-sans-v6-latin-regular.woff2 │ ├── WEB-INF │ │ ├── web.xml │ │ └── applicationContext.xml │ ├── lib │ │ ├── jquery.slideto.min.js │ │ ├── jquery.wiggle.min.js │ │ ├── jquery.ba-bbq.min.js │ │ ├── highlight.7.3.pack.js │ │ ├── swagger-oauth.js │ │ ├── underscore-min.js │ │ ├── backbone-min.js │ │ ├── underscore-min.map │ │ └── marked.js │ ├── o2c.html │ ├── css │ │ ├── typography.css │ │ ├── reset.css │ │ └── style.css │ ├── lang │ │ ├── translator.js │ │ ├── zh-cn.js │ │ ├── ja.js │ │ ├── ru.js │ │ ├── en.js │ │ ├── tr.js │ │ ├── pt.js │ │ └── es.js │ └── index.html │ ├── resources │ ├── log4j.properties │ └── META-INF │ │ └── feature │ │ └── features.xml │ └── java │ └── com │ └── github │ ├── Container.java │ ├── SampleServiceCxfrsImpl.java │ └── VersionServiceCxfrsImpl.java ├── templates ├── strapdown.html.hbs ├── security.hbs ├── operation.hbs └── markdown.hbs ├── ReadMe.txt ├── .gitignore ├── pom.xml └── LICENSE /src/main/webapp/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/452/fuse-web-swagger-ui/master/src/main/webapp/images/favicon.ico -------------------------------------------------------------------------------- /src/main/webapp/images/throbber.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/452/fuse-web-swagger-ui/master/src/main/webapp/images/throbber.gif -------------------------------------------------------------------------------- /src/main/webapp/images/logo_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/452/fuse-web-swagger-ui/master/src/main/webapp/images/logo_small.png -------------------------------------------------------------------------------- /src/main/webapp/images/wordnik_api.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/452/fuse-web-swagger-ui/master/src/main/webapp/images/wordnik_api.png -------------------------------------------------------------------------------- /src/main/webapp/images/explorer_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/452/fuse-web-swagger-ui/master/src/main/webapp/images/explorer_icons.png -------------------------------------------------------------------------------- /src/main/webapp/images/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/452/fuse-web-swagger-ui/master/src/main/webapp/images/favicon-16x16.png -------------------------------------------------------------------------------- /src/main/webapp/images/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/452/fuse-web-swagger-ui/master/src/main/webapp/images/favicon-32x32.png -------------------------------------------------------------------------------- /src/main/webapp/images/pet_store_api.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/452/fuse-web-swagger-ui/master/src/main/webapp/images/pet_store_api.png -------------------------------------------------------------------------------- /src/main/webapp/fonts/droid-sans-v6-latin-700.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/452/fuse-web-swagger-ui/master/src/main/webapp/fonts/droid-sans-v6-latin-700.eot -------------------------------------------------------------------------------- /src/main/webapp/fonts/droid-sans-v6-latin-700.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/452/fuse-web-swagger-ui/master/src/main/webapp/fonts/droid-sans-v6-latin-700.ttf -------------------------------------------------------------------------------- /src/main/webapp/fonts/droid-sans-v6-latin-700.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/452/fuse-web-swagger-ui/master/src/main/webapp/fonts/droid-sans-v6-latin-700.woff -------------------------------------------------------------------------------- /src/main/webapp/fonts/droid-sans-v6-latin-700.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/452/fuse-web-swagger-ui/master/src/main/webapp/fonts/droid-sans-v6-latin-700.woff2 -------------------------------------------------------------------------------- /src/main/webapp/fonts/droid-sans-v6-latin-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/452/fuse-web-swagger-ui/master/src/main/webapp/fonts/droid-sans-v6-latin-regular.eot -------------------------------------------------------------------------------- /src/main/webapp/fonts/droid-sans-v6-latin-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/452/fuse-web-swagger-ui/master/src/main/webapp/fonts/droid-sans-v6-latin-regular.ttf -------------------------------------------------------------------------------- /src/main/webapp/fonts/droid-sans-v6-latin-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/452/fuse-web-swagger-ui/master/src/main/webapp/fonts/droid-sans-v6-latin-regular.woff -------------------------------------------------------------------------------- /src/main/webapp/fonts/droid-sans-v6-latin-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/452/fuse-web-swagger-ui/master/src/main/webapp/fonts/droid-sans-v6-latin-regular.woff2 -------------------------------------------------------------------------------- /templates/strapdown.html.hbs: -------------------------------------------------------------------------------- 1 | 2 | 3 |
| type | 8 |{{type}} | 9 ||
|---|---|---|
| description | 13 |{{description}} | 14 ||
| authorizationUrl | 19 |{{authorizationUrl}} | 20 ||
| flow | 25 |{{flow}} | 26 ||
| tokenUrl | 31 |{{tokenUrl}} | 32 ||
| scopes | 37 | {{#each scopes}} 38 |{{@key}} | 39 |{{this}} | 40 |
| type | 51 |{{type}} | 52 ||
|---|---|---|
| description | 56 |{{description}} | 57 ||
| name | 62 |{{name}} | 63 ||
| in | 68 |{{in}} | 69 ||
| type | 77 |{{type}} | 78 ||
|---|---|---|
| description | 82 |{{description}} | 83 ||
| Name | 31 |Located in | 32 |Required | 33 |Description | 34 |Default | 35 |Schema | 36 |||
|---|---|---|---|---|---|---|---|
| {{name}} | 42 |{{in}} | 43 |{{#if required}}yes{{else}}no{{/if}} | 44 |{{description}}{{#if pattern}} (**Pattern**: `{{pattern}}`){{/if}} | 45 |- | 46 | {{#ifeq in "body"}} 47 |48 | {{#ifeq schema.type "array"}}Array[{{basename schema.items.$ref}}]{{/ifeq}} 49 | {{#schema.$ref}}{{basename schema.$ref}} {{/schema.$ref}} 50 | | 51 | {{else}} 52 | {{#ifeq type "array"}} 53 |Array[{{items.type}}] ({{collectionFormat}}) | 54 | {{else}} 55 |{{type}} {{#format}}({{format}}){{/format}} | 56 | {{/ifeq}} 57 | {{/ifeq}} 58 |
| name | 82 |type | 83 |required | 84 |description | 85 |example | 86 |
|---|---|---|---|---|
| {{@key}} | 90 |91 | {{#ifeq type "array"}} 92 | {{#items.$ref}} 93 | {{type}}[{{basename items.$ref}}] 94 | {{/items.$ref}} 95 | {{^items.$ref}}{{type}}[{{items.type}}]{{/items.$ref}} 96 | {{else}} 97 | {{#$ref}}{{basename $ref}}{{/$ref}} 98 | {{^$ref}}{{type}}{{#format}} ({{format}}){{/format}}{{/$ref}} 99 | {{/ifeq}} 100 | | 101 |{{#required}}required{{/required}}{{^required}}optional{{/required}} | 102 |{{#description}}{{{description}}}{{/description}}{{^description}}-{{/description}} | 103 |{{example}} | 104 |