swagger_ui_generator 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +19 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +69 -0
  6. data/Rakefile +23 -0
  7. data/lib/generators/swagger_ui_generator/install/install_generator.rb +22 -0
  8. data/lib/generators/swagger_ui_generator/install/templates/public/api-docs.html.erb +73 -0
  9. data/lib/generators/swagger_ui_generator/install/templates/public/swagger/css/highlight.default.css +135 -0
  10. data/lib/generators/swagger_ui_generator/install/templates/public/swagger/css/screen.css +1070 -0
  11. data/lib/generators/swagger_ui_generator/install/templates/public/swagger/lib/backbone-min.js +38 -0
  12. data/lib/generators/swagger_ui_generator/install/templates/public/swagger/lib/handlebars-1.0.0.js +2278 -0
  13. data/lib/generators/swagger_ui_generator/install/templates/public/swagger/lib/highlight.7.3.pack.js +1 -0
  14. data/lib/generators/swagger_ui_generator/install/templates/public/swagger/lib/jquery-1.8.0.min.js +2 -0
  15. data/lib/generators/swagger_ui_generator/install/templates/public/swagger/lib/jquery.ba-bbq.min.js +18 -0
  16. data/lib/generators/swagger_ui_generator/install/templates/public/swagger/lib/jquery.slideto.min.js +1 -0
  17. data/lib/generators/swagger_ui_generator/install/templates/public/swagger/lib/jquery.wiggle.min.js +8 -0
  18. data/lib/generators/swagger_ui_generator/install/templates/public/swagger/lib/shred.bundle.js +2765 -0
  19. data/lib/generators/swagger_ui_generator/install/templates/public/swagger/lib/shred/content.js +193 -0
  20. data/lib/generators/swagger_ui_generator/install/templates/public/swagger/lib/swagger.js +1311 -0
  21. data/lib/generators/swagger_ui_generator/install/templates/public/swagger/lib/underscore-min.js +32 -0
  22. data/lib/generators/swagger_ui_generator/install/templates/public/swagger/swagger-ui.js +2129 -0
  23. data/lib/generators/swagger_ui_generator/install/templates/public/swagger/throbber.gif +0 -0
  24. data/lib/swagger_ui_generator.rb +5 -0
  25. data/lib/swagger_ui_generator/importer.rb +97 -0
  26. data/lib/swagger_ui_generator/version.rb +3 -0
  27. data/swagger_ui_generator.gemspec +28 -0
  28. data/test/lib/generators/swagger_ui_generator/install_generator_test.rb +73 -0
  29. data/test/test_helper.rb +19 -0
  30. data/vendor/swagger-ui/.gitignore +22 -0
  31. data/vendor/swagger-ui/.npmignore +7 -0
  32. data/vendor/swagger-ui/Cakefile +132 -0
  33. data/vendor/swagger-ui/README.md +110 -0
  34. data/vendor/swagger-ui/dist/css/highlight.default.css +135 -0
  35. data/vendor/swagger-ui/dist/css/screen.css +1070 -0
  36. data/vendor/swagger-ui/dist/images/logo_small.png +0 -0
  37. data/vendor/swagger-ui/dist/images/pet_store_api.png +0 -0
  38. data/vendor/swagger-ui/dist/images/throbber.gif +0 -0
  39. data/vendor/swagger-ui/dist/images/wordnik_api.png +0 -0
  40. data/vendor/swagger-ui/dist/index.html +78 -0
  41. data/vendor/swagger-ui/dist/lib/backbone-min.js +38 -0
  42. data/vendor/swagger-ui/dist/lib/handlebars-1.0.0.js +2278 -0
  43. data/vendor/swagger-ui/dist/lib/highlight.7.3.pack.js +1 -0
  44. data/vendor/swagger-ui/dist/lib/jquery-1.8.0.min.js +2 -0
  45. data/vendor/swagger-ui/dist/lib/jquery.ba-bbq.min.js +18 -0
  46. data/vendor/swagger-ui/dist/lib/jquery.slideto.min.js +1 -0
  47. data/vendor/swagger-ui/dist/lib/jquery.wiggle.min.js +8 -0
  48. data/vendor/swagger-ui/dist/lib/shred.bundle.js +2765 -0
  49. data/vendor/swagger-ui/dist/lib/shred/content.js +193 -0
  50. data/vendor/swagger-ui/dist/lib/swagger.js +1311 -0
  51. data/vendor/swagger-ui/dist/lib/underscore-min.js +32 -0
  52. data/vendor/swagger-ui/dist/swagger-ui.js +2129 -0
  53. data/vendor/swagger-ui/dist/swagger-ui.min.js +1 -0
  54. data/vendor/swagger-ui/lib/backbone-min.js +38 -0
  55. data/vendor/swagger-ui/lib/handlebars-1.0.0.js +2278 -0
  56. data/vendor/swagger-ui/lib/highlight.7.3.pack.js +1 -0
  57. data/vendor/swagger-ui/lib/jquery-1.8.0.min.js +2 -0
  58. data/vendor/swagger-ui/lib/jquery.ba-bbq.min.js +18 -0
  59. data/vendor/swagger-ui/lib/jquery.slideto.min.js +1 -0
  60. data/vendor/swagger-ui/lib/jquery.wiggle.min.js +8 -0
  61. data/vendor/swagger-ui/lib/shred.bundle.js +2765 -0
  62. data/vendor/swagger-ui/lib/shred/content.js +193 -0
  63. data/vendor/swagger-ui/lib/swagger.js +1311 -0
  64. data/vendor/swagger-ui/lib/underscore-min.js +32 -0
  65. data/vendor/swagger-ui/package.json +26 -0
  66. data/vendor/swagger-ui/src/main/coffeescript/SwaggerUi.coffee +101 -0
  67. data/vendor/swagger-ui/src/main/coffeescript/view/ContentTypeView.coffee +14 -0
  68. data/vendor/swagger-ui/src/main/coffeescript/view/HeaderView.coffee +37 -0
  69. data/vendor/swagger-ui/src/main/coffeescript/view/MainView.coffee +18 -0
  70. data/vendor/swagger-ui/src/main/coffeescript/view/OperationView.coffee +318 -0
  71. data/vendor/swagger-ui/src/main/coffeescript/view/ParameterContentTypeView.coffee +14 -0
  72. data/vendor/swagger-ui/src/main/coffeescript/view/ParameterView.coffee +57 -0
  73. data/vendor/swagger-ui/src/main/coffeescript/view/ResourceView.coffee +21 -0
  74. data/vendor/swagger-ui/src/main/coffeescript/view/ResponseContentTypeView.coffee +14 -0
  75. data/vendor/swagger-ui/src/main/coffeescript/view/SignatureView.coffee +51 -0
  76. data/vendor/swagger-ui/src/main/coffeescript/view/StatusCodeView.coffee +11 -0
  77. data/vendor/swagger-ui/src/main/html/css/highlight.default.css +135 -0
  78. data/vendor/swagger-ui/src/main/html/css/screen.css +1070 -0
  79. data/vendor/swagger-ui/src/main/html/images/logo_small.png +0 -0
  80. data/vendor/swagger-ui/src/main/html/images/pet_store_api.png +0 -0
  81. data/vendor/swagger-ui/src/main/html/images/throbber.gif +0 -0
  82. data/vendor/swagger-ui/src/main/html/images/wordnik_api.png +0 -0
  83. data/vendor/swagger-ui/src/main/html/index.html +78 -0
  84. data/vendor/swagger-ui/src/main/javascript/doc.js +184 -0
  85. data/vendor/swagger-ui/src/main/less/reset.less +50 -0
  86. data/vendor/swagger-ui/src/main/less/screen.less +67 -0
  87. data/vendor/swagger-ui/src/main/less/specs.less +1004 -0
  88. data/vendor/swagger-ui/src/main/template/content_type.handlebars +10 -0
  89. data/vendor/swagger-ui/src/main/template/main.handlebars +22 -0
  90. data/vendor/swagger-ui/src/main/template/operation.handlebars +85 -0
  91. data/vendor/swagger-ui/src/main/template/param.handlebars +30 -0
  92. data/vendor/swagger-ui/src/main/template/param_list.handlebars +25 -0
  93. data/vendor/swagger-ui/src/main/template/param_readonly.handlebars +15 -0
  94. data/vendor/swagger-ui/src/main/template/param_readonly_required.handlebars +15 -0
  95. data/vendor/swagger-ui/src/main/template/param_required.handlebars +31 -0
  96. data/vendor/swagger-ui/src/main/template/parameter_content_type.handlebars +10 -0
  97. data/vendor/swagger-ui/src/main/template/resource.handlebars +27 -0
  98. data/vendor/swagger-ui/src/main/template/response_content_type.handlebars +10 -0
  99. data/vendor/swagger-ui/src/main/template/signature.handlebars +18 -0
  100. data/vendor/swagger-ui/src/main/template/status_code.handlebars +2 -0
  101. data/vendor/swagger-ui/src/test/spec.html +26 -0
  102. data/vendor/swagger-ui/src/test/swagger-ui-spec.coffee +49 -0
  103. data/vendor/swagger-ui/swagger-ui.json +20 -0
  104. metadata +240 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 1d405bd075bc1d4513d071c7db1dc56045bf8afe
4
+ data.tar.gz: 0b287376790bd5e87416d0b2af780ac5a56b470e
5
+ SHA512:
6
+ metadata.gz: e1b2e7f5b364dae196057189af47e3c4d127984a9fbd329f246c430b531bb16ff45e0775032835389067734bfa0347ef1484e7de50d77f10e2cb8537d1bcdae7
7
+ data.tar.gz: 0f582e5232e0ee3def0b73ead53511cd7284f0af050ab01ab1203044d63681fdbe2004fdf9561bd6b6d7de77445f8e7f392f026527a9c7aa659780ce2efd564e
data/.gitignore ADDED
@@ -0,0 +1,19 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ bin
7
+ Gemfile.lock
8
+ InstalledFiles
9
+ _yardoc
10
+ coverage
11
+ doc/
12
+ lib/bundler/man
13
+ pkg
14
+ rdoc
15
+ spec/reports
16
+ test/tmp
17
+ test/version_tmp
18
+ tmp
19
+ vendor/bundle
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in swagger_ui_generator.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 Solomon White
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,69 @@
1
+ # Swagger UI Generator
2
+
3
+ Rails generator to add Swagger UI API documentation to your application.
4
+
5
+ [Swagger UI](https://github.com/wordnik/swagger-ui) is a dependency-free
6
+ collection of HTML, Javascript, and CSS assets that dynamically generate
7
+ beautiful documentation from a Swagger-compliant API.
8
+
9
+ ## Usage
10
+
11
+ Run the generator to create the Swagger UI structure:
12
+
13
+ rails generate swagger_ui_generator:install
14
+
15
+ By default, Swagger UI will be created at `public/api-docs.html`, and all the
16
+ assets will be created in the `public/swagger` folder. It will expect the root
17
+ swagger definition file to be accessible at: `/swagger/api-docs.json` from your
18
+ rails server. If you use [swagger-docs](https://github.com/richhollis/swagger-docs)
19
+ to dynamically generate the API spec files, you can use an initializer something
20
+ like:
21
+
22
+ ```ruby
23
+ endpoints = {
24
+ "production" => "http://api.my-service.com",
25
+ "staging" => "http://api-staging.my-service.com",
26
+ "development" => "http://localhost:3000",
27
+ }
28
+
29
+ Swagger::Docs::Config.register_apis({
30
+ "1.0" => {
31
+ api_extension_type: :json,
32
+ api_file_path: "public/swagger/",
33
+ base_path: "#{ endpoints[Rails.env] }",
34
+ clean_directory: true
35
+ }
36
+ })
37
+
38
+ class Swagger::Docs::Config
39
+ def self.transform_path(path)
40
+ "swagger/#{ path }"
41
+ end
42
+ end
43
+ ```
44
+
45
+ This will create `api-docs.json` and an additional spec file per endpoint in the
46
+ `public/swagger` directory.
47
+
48
+
49
+ ## Installation
50
+
51
+ Add this line to your application's Gemfile:
52
+
53
+ gem 'swagger_ui_generator'
54
+
55
+ And then execute:
56
+
57
+ $ bundle
58
+
59
+ Or install it yourself as:
60
+
61
+ $ gem install swagger_ui_generator
62
+
63
+ ## Contributing
64
+
65
+ 1. Fork it ( http://github.com/<my-github-username>/swagger_ui_generator/fork )
66
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
67
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
68
+ 4. Push to the branch (`git push origin my-new-feature`)
69
+ 5. Create new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,23 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rake/testtask'
3
+
4
+ Rake::TestTask.new do |t|
5
+ t.libs << 'test'
6
+ t.pattern = 'test/**/*_test.rb'
7
+ t.verbose = true
8
+ end
9
+
10
+ task default: :test
11
+
12
+
13
+ namespace :swagger do
14
+ require 'swagger_ui_generator/importer'
15
+
16
+ task :update do
17
+ SwaggerUiGenerator::Importer.new.import
18
+ end
19
+
20
+ task :cleanup do
21
+ SwaggerUiGenerator::Importer.new.cleanup
22
+ end
23
+ end
@@ -0,0 +1,22 @@
1
+ require 'rails/generators'
2
+
3
+ module SwaggerUiGenerator
4
+ module Generators
5
+ class InstallGenerator < ::Rails::Generators::Base
6
+ desc 'Generate Swagger UI API documentation viewer'
7
+ source_root ::File.expand_path('../templates', __FILE__)
8
+
9
+ class_option :title, type: :string, aliases: "-t", desc: "Title for the API Docs page", default: "API Docs"
10
+ class_option :api_spec_path, type: :string, aliases: "-p", desc: "Path to Swagger JSON API spec", default: "/swagger/api-docs.json"
11
+
12
+ def copy_lib
13
+ @title = options[:title]
14
+ @api_spec_path = options[:api_spec_path]
15
+
16
+ template "public/api-docs.html.erb", "public/api-docs.html"
17
+ copy_file "public/swagger/swagger-ui.js", "public/swagger/swagger-ui.js"
18
+ directory "public/swagger"
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,73 @@
1
+ <!DOCTYPE html>
2
+ <html xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
5
+ <title><%= @title %></title>
6
+ <link href="https://fonts.googleapis.com/css?family=Droid+Sans:400,700" rel="stylesheet" type="text/css" />
7
+ <link href="/swagger/css/highlight.default.css" media="screen" rel="stylesheet" type="text/css" />
8
+ <link href="/swagger/css/screen.css" media="screen" rel="stylesheet" type="text/css" />
9
+ <script type="text/javascript" src="/swagger/lib/shred.bundle.js"></script>
10
+ <script src="/swagger/lib/jquery-1.8.0.min.js" type="text/javascript"></script>
11
+ <script src="/swagger/lib/jquery.slideto.min.js" type="text/javascript"></script>
12
+ <script src="/swagger/lib/jquery.wiggle.min.js" type="text/javascript"></script>
13
+ <script src="/swagger/lib/jquery.ba-bbq.min.js" type="text/javascript"></script>
14
+ <script src="/swagger/lib/handlebars-1.0.0.js" type="text/javascript"></script>
15
+ <script src="/swagger/lib/underscore-min.js" type="text/javascript"></script>
16
+ <script src="/swagger/lib/backbone-min.js" type="text/javascript"></script>
17
+ <script src="/swagger/lib/swagger.js" type="text/javascript"></script>
18
+ <script src="/swagger/swagger-ui.js" type="text/javascript"></script>
19
+ <script src="/swagger/lib/highlight.7.3.pack.js" type="text/javascript"></script>
20
+ <script type="text/javascript">
21
+ $(function () {
22
+ window.swaggerUi = new SwaggerUi({
23
+ url: window.location.protocol + "//" + window.location.host + "<%= @api_spec_path %>",
24
+ dom_id: "swagger-ui-container",
25
+ supportedSubmitMethods: ['get', 'post', 'put', 'delete'],
26
+ onComplete: function(swaggerApi, swaggerUi){
27
+ log("Loaded SwaggerUI")
28
+ $('pre code').each(function(i, e) {hljs.highlightBlock(e)});
29
+ },
30
+ onFailure: function(data) {
31
+ log("Unable to Load SwaggerUI");
32
+ },
33
+ docExpansion: "none"
34
+ });
35
+
36
+ $('#input_apiKey').change(function() {
37
+ var key = $('#input_apiKey')[0].value;
38
+ log("key: " + key);
39
+ if(key & key.trim() != "") {
40
+ log("added key " + key);
41
+ window.authorizations.add("key", new ApiKeyAuthorization("api_key", key, "query"));
42
+ }
43
+ })
44
+ window.swaggerUi.load();
45
+ });
46
+
47
+ </script>
48
+ </head>
49
+ <body>
50
+ <div id="header">
51
+ <div class="swagger-ui-wrap">
52
+
53
+
54
+ <form id="api_selector">
55
+
56
+
57
+ <div class="input"><input placeholder="http://example.com/api" id="input_baseUrl" name="baseUrl" type="text" /></div>
58
+ <div class="input"><input placeholder="api_key" id="input_apiKey" name="apiKey" type="text" /></div>
59
+ <div class="input"><a id="explore" href="#">Explore</a></div>
60
+ </form>
61
+ </div>
62
+ </div>
63
+
64
+ <div id="message-bar" class="swagger-ui-wrap">
65
+  
66
+ </div>
67
+
68
+ <div id="swagger-ui-container" class="swagger-ui-wrap">
69
+
70
+ </div>
71
+
72
+ </body>
73
+ </html>
@@ -0,0 +1,135 @@
1
+ /*
2
+
3
+ Original style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org>
4
+
5
+ */
6
+
7
+ pre code {
8
+ display: block; padding: 0.5em;
9
+ background: #F0F0F0;
10
+ }
11
+
12
+ pre code,
13
+ pre .subst,
14
+ pre .tag .title,
15
+ pre .lisp .title,
16
+ pre .clojure .built_in,
17
+ pre .nginx .title {
18
+ color: black;
19
+ }
20
+
21
+ pre .string,
22
+ pre .title,
23
+ pre .constant,
24
+ pre .parent,
25
+ pre .tag .value,
26
+ pre .rules .value,
27
+ pre .rules .value .number,
28
+ pre .preprocessor,
29
+ pre .ruby .symbol,
30
+ pre .ruby .symbol .string,
31
+ pre .aggregate,
32
+ pre .template_tag,
33
+ pre .django .variable,
34
+ pre .smalltalk .class,
35
+ pre .addition,
36
+ pre .flow,
37
+ pre .stream,
38
+ pre .bash .variable,
39
+ pre .apache .tag,
40
+ pre .apache .cbracket,
41
+ pre .tex .command,
42
+ pre .tex .special,
43
+ pre .erlang_repl .function_or_atom,
44
+ pre .markdown .header {
45
+ color: #800;
46
+ }
47
+
48
+ pre .comment,
49
+ pre .annotation,
50
+ pre .template_comment,
51
+ pre .diff .header,
52
+ pre .chunk,
53
+ pre .markdown .blockquote {
54
+ color: #888;
55
+ }
56
+
57
+ pre .number,
58
+ pre .date,
59
+ pre .regexp,
60
+ pre .literal,
61
+ pre .smalltalk .symbol,
62
+ pre .smalltalk .char,
63
+ pre .go .constant,
64
+ pre .change,
65
+ pre .markdown .bullet,
66
+ pre .markdown .link_url {
67
+ color: #080;
68
+ }
69
+
70
+ pre .label,
71
+ pre .javadoc,
72
+ pre .ruby .string,
73
+ pre .decorator,
74
+ pre .filter .argument,
75
+ pre .localvars,
76
+ pre .array,
77
+ pre .attr_selector,
78
+ pre .important,
79
+ pre .pseudo,
80
+ pre .pi,
81
+ pre .doctype,
82
+ pre .deletion,
83
+ pre .envvar,
84
+ pre .shebang,
85
+ pre .apache .sqbracket,
86
+ pre .nginx .built_in,
87
+ pre .tex .formula,
88
+ pre .erlang_repl .reserved,
89
+ pre .prompt,
90
+ pre .markdown .link_label,
91
+ pre .vhdl .attribute,
92
+ pre .clojure .attribute,
93
+ pre .coffeescript .property {
94
+ color: #88F
95
+ }
96
+
97
+ pre .keyword,
98
+ pre .id,
99
+ pre .phpdoc,
100
+ pre .title,
101
+ pre .built_in,
102
+ pre .aggregate,
103
+ pre .css .tag,
104
+ pre .javadoctag,
105
+ pre .phpdoc,
106
+ pre .yardoctag,
107
+ pre .smalltalk .class,
108
+ pre .winutils,
109
+ pre .bash .variable,
110
+ pre .apache .tag,
111
+ pre .go .typename,
112
+ pre .tex .command,
113
+ pre .markdown .strong,
114
+ pre .request,
115
+ pre .status {
116
+ font-weight: bold;
117
+ }
118
+
119
+ pre .markdown .emphasis {
120
+ font-style: italic;
121
+ }
122
+
123
+ pre .nginx .built_in {
124
+ font-weight: normal;
125
+ }
126
+
127
+ pre .coffeescript .javascript,
128
+ pre .javascript .xml,
129
+ pre .tex .formula,
130
+ pre .xml .javascript,
131
+ pre .xml .vbscript,
132
+ pre .xml .css,
133
+ pre .xml .cdata {
134
+ opacity: 0.5;
135
+ }
@@ -0,0 +1,1070 @@
1
+ /* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 */
2
+ html,
3
+ body,
4
+ div,
5
+ span,
6
+ applet,
7
+ object,
8
+ iframe,
9
+ h1,
10
+ h2,
11
+ h3,
12
+ h4,
13
+ h5,
14
+ h6,
15
+ p,
16
+ blockquote,
17
+ pre,
18
+ a,
19
+ abbr,
20
+ acronym,
21
+ address,
22
+ big,
23
+ cite,
24
+ code,
25
+ del,
26
+ dfn,
27
+ em,
28
+ img,
29
+ ins,
30
+ kbd,
31
+ q,
32
+ s,
33
+ samp,
34
+ small,
35
+ strike,
36
+ strong,
37
+ sub,
38
+ sup,
39
+ tt,
40
+ var,
41
+ b,
42
+ u,
43
+ i,
44
+ center,
45
+ dl,
46
+ dt,
47
+ dd,
48
+ ol,
49
+ ul,
50
+ li,
51
+ fieldset,
52
+ form,
53
+ label,
54
+ legend,
55
+ table,
56
+ caption,
57
+ tbody,
58
+ tfoot,
59
+ thead,
60
+ tr,
61
+ th,
62
+ td,
63
+ article,
64
+ aside,
65
+ canvas,
66
+ details,
67
+ embed,
68
+ figure,
69
+ figcaption,
70
+ footer,
71
+ header,
72
+ hgroup,
73
+ menu,
74
+ nav,
75
+ output,
76
+ ruby,
77
+ section,
78
+ summary,
79
+ time,
80
+ mark,
81
+ audio,
82
+ video {
83
+ margin: 0;
84
+ padding: 0;
85
+ border: 0;
86
+ font-size: 100%;
87
+ font: inherit;
88
+ vertical-align: baseline;
89
+ }
90
+ /* HTML5 display-role reset for older browsers */
91
+ article,
92
+ aside,
93
+ details,
94
+ figcaption,
95
+ figure,
96
+ footer,
97
+ header,
98
+ hgroup,
99
+ menu,
100
+ nav,
101
+ section {
102
+ display: block;
103
+ }
104
+ body {
105
+ line-height: 1;
106
+ }
107
+ ol,
108
+ ul {
109
+ list-style: none;
110
+ }
111
+ blockquote,
112
+ q {
113
+ quotes: none;
114
+ }
115
+ blockquote:before,
116
+ blockquote:after,
117
+ q:before,
118
+ q:after {
119
+ content: '';
120
+ content: none;
121
+ }
122
+ table {
123
+ border-collapse: collapse;
124
+ border-spacing: 0;
125
+ }
126
+ .swagger-ui-wrap {
127
+ line-height: 1;
128
+ font-family: "Droid Sans", sans-serif;
129
+ max-width: 960px;
130
+ margin-left: auto;
131
+ margin-right: auto;
132
+ }
133
+ .swagger-ui-wrap b,
134
+ .swagger-ui-wrap strong {
135
+ font-family: "Droid Sans", sans-serif;
136
+ font-weight: bold;
137
+ }
138
+ .swagger-ui-wrap q,
139
+ .swagger-ui-wrap blockquote {
140
+ quotes: none;
141
+ }
142
+ .swagger-ui-wrap p {
143
+ line-height: 1.4em;
144
+ padding: 0 0 10px;
145
+ color: #333333;
146
+ }
147
+ .swagger-ui-wrap q:before,
148
+ .swagger-ui-wrap q:after,
149
+ .swagger-ui-wrap blockquote:before,
150
+ .swagger-ui-wrap blockquote:after {
151
+ content: none;
152
+ }
153
+ .swagger-ui-wrap .heading_with_menu h1,
154
+ .swagger-ui-wrap .heading_with_menu h2,
155
+ .swagger-ui-wrap .heading_with_menu h3,
156
+ .swagger-ui-wrap .heading_with_menu h4,
157
+ .swagger-ui-wrap .heading_with_menu h5,
158
+ .swagger-ui-wrap .heading_with_menu h6 {
159
+ display: block;
160
+ clear: none;
161
+ float: left;
162
+ -moz-box-sizing: border-box;
163
+ -webkit-box-sizing: border-box;
164
+ -ms-box-sizing: border-box;
165
+ box-sizing: border-box;
166
+ width: 60%;
167
+ }
168
+ .swagger-ui-wrap table {
169
+ border-collapse: collapse;
170
+ border-spacing: 0;
171
+ }
172
+ .swagger-ui-wrap table thead tr th {
173
+ padding: 5px;
174
+ font-size: 0.9em;
175
+ color: #666666;
176
+ border-bottom: 1px solid #999999;
177
+ }
178
+ .swagger-ui-wrap table tbody tr:last-child td {
179
+ border-bottom: none;
180
+ }
181
+ .swagger-ui-wrap table tbody tr.offset {
182
+ background-color: #f0f0f0;
183
+ }
184
+ .swagger-ui-wrap table tbody tr td {
185
+ padding: 6px;
186
+ font-size: 0.9em;
187
+ border-bottom: 1px solid #cccccc;
188
+ vertical-align: top;
189
+ line-height: 1.3em;
190
+ }
191
+ .swagger-ui-wrap ol {
192
+ margin: 0px 0 10px;
193
+ padding: 0 0 0 18px;
194
+ list-style-type: decimal;
195
+ }
196
+ .swagger-ui-wrap ol li {
197
+ padding: 5px 0px;
198
+ font-size: 0.9em;
199
+ color: #333333;
200
+ }
201
+ .swagger-ui-wrap ol,
202
+ .swagger-ui-wrap ul {
203
+ list-style: none;
204
+ }
205
+ .swagger-ui-wrap h1 a,
206
+ .swagger-ui-wrap h2 a,
207
+ .swagger-ui-wrap h3 a,
208
+ .swagger-ui-wrap h4 a,
209
+ .swagger-ui-wrap h5 a,
210
+ .swagger-ui-wrap h6 a {
211
+ text-decoration: none;
212
+ }
213
+ .swagger-ui-wrap h1 a:hover,
214
+ .swagger-ui-wrap h2 a:hover,
215
+ .swagger-ui-wrap h3 a:hover,
216
+ .swagger-ui-wrap h4 a:hover,
217
+ .swagger-ui-wrap h5 a:hover,
218
+ .swagger-ui-wrap h6 a:hover {
219
+ text-decoration: underline;
220
+ }
221
+ .swagger-ui-wrap h1 span.divider,
222
+ .swagger-ui-wrap h2 span.divider,
223
+ .swagger-ui-wrap h3 span.divider,
224
+ .swagger-ui-wrap h4 span.divider,
225
+ .swagger-ui-wrap h5 span.divider,
226
+ .swagger-ui-wrap h6 span.divider {
227
+ color: #aaaaaa;
228
+ }
229
+ .swagger-ui-wrap a {
230
+ color: #547f00;
231
+ }
232
+ .swagger-ui-wrap a img {
233
+ border: none;
234
+ }
235
+ .swagger-ui-wrap article,
236
+ .swagger-ui-wrap aside,
237
+ .swagger-ui-wrap details,
238
+ .swagger-ui-wrap figcaption,
239
+ .swagger-ui-wrap figure,
240
+ .swagger-ui-wrap footer,
241
+ .swagger-ui-wrap header,
242
+ .swagger-ui-wrap hgroup,
243
+ .swagger-ui-wrap menu,
244
+ .swagger-ui-wrap nav,
245
+ .swagger-ui-wrap section,
246
+ .swagger-ui-wrap summary {
247
+ display: block;
248
+ }
249
+ .swagger-ui-wrap pre {
250
+ font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
251
+ background-color: #fcf6db;
252
+ border: 1px solid #e5e0c6;
253
+ padding: 10px;
254
+ }
255
+ .swagger-ui-wrap pre code {
256
+ line-height: 1.6em;
257
+ background: none;
258
+ }
259
+ .swagger-ui-wrap .content > .content-type > div > label {
260
+ clear: both;
261
+ display: block;
262
+ color: #0F6AB4;
263
+ font-size: 1.1em;
264
+ margin: 0;
265
+ padding: 15px 0 5px;
266
+ }
267
+ .swagger-ui-wrap .content pre {
268
+ font-size: 12px;
269
+ margin-top: 5px;
270
+ padding: 5px;
271
+ }
272
+ .swagger-ui-wrap .icon-btn {
273
+ cursor: pointer;
274
+ }
275
+ .swagger-ui-wrap .info_title {
276
+ padding-bottom: 10px;
277
+ font-weight: bold;
278
+ font-size: 25px;
279
+ }
280
+ .swagger-ui-wrap p.big,
281
+ .swagger-ui-wrap div.big p {
282
+ font-size: 1em;
283
+ margin-bottom: 10px;
284
+ }
285
+ .swagger-ui-wrap form.fullwidth ol li.string input,
286
+ .swagger-ui-wrap form.fullwidth ol li.url input,
287
+ .swagger-ui-wrap form.fullwidth ol li.text textarea,
288
+ .swagger-ui-wrap form.fullwidth ol li.numeric input {
289
+ width: 500px !important;
290
+ }
291
+ .swagger-ui-wrap .info_license {
292
+ padding-bottom: 5px;
293
+ }
294
+ .swagger-ui-wrap .info_tos {
295
+ padding-bottom: 5px;
296
+ }
297
+ .swagger-ui-wrap .message-fail {
298
+ color: #cc0000;
299
+ }
300
+ .swagger-ui-wrap .info_contact {
301
+ padding-bottom: 5px;
302
+ }
303
+ .swagger-ui-wrap .info_description {
304
+ padding-bottom: 10px;
305
+ font-size: 15px;
306
+ }
307
+ .swagger-ui-wrap .markdown ol li,
308
+ .swagger-ui-wrap .markdown ul li {
309
+ padding: 3px 0px;
310
+ line-height: 1.4em;
311
+ color: #333333;
312
+ }
313
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li.string input,
314
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li.url input,
315
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li.numeric input {
316
+ display: block;
317
+ padding: 4px;
318
+ width: auto;
319
+ clear: both;
320
+ }
321
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li.string input.title,
322
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li.url input.title,
323
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li.numeric input.title {
324
+ font-size: 1.3em;
325
+ }
326
+ .swagger-ui-wrap table.fullwidth {
327
+ width: 100%;
328
+ }
329
+ .swagger-ui-wrap .model-signature {
330
+ font-family: "Droid Sans", sans-serif;
331
+ font-size: 1em;
332
+ line-height: 1.5em;
333
+ }
334
+ .swagger-ui-wrap .model-signature .signature-nav a {
335
+ text-decoration: none;
336
+ color: #AAA;
337
+ }
338
+ .swagger-ui-wrap .model-signature .signature-nav a:hover {
339
+ text-decoration: underline;
340
+ color: black;
341
+ }
342
+ .swagger-ui-wrap .model-signature .signature-nav .selected {
343
+ color: black;
344
+ text-decoration: none;
345
+ }
346
+ .swagger-ui-wrap .model-signature .propType {
347
+ color: #5555aa;
348
+ }
349
+ .swagger-ui-wrap .model-signature pre:hover {
350
+ background-color: #ffffdd;
351
+ }
352
+ .swagger-ui-wrap .model-signature pre {
353
+ font-size: .85em;
354
+ line-height: 1.2em;
355
+ overflow: auto;
356
+ max-height: 200px;
357
+ cursor: pointer;
358
+ }
359
+ .swagger-ui-wrap .model-signature ul.signature-nav {
360
+ display: block;
361
+ margin: 0;
362
+ padding: 0;
363
+ }
364
+ .swagger-ui-wrap .model-signature ul.signature-nav li:last-child {
365
+ padding-right: 0;
366
+ border-right: none;
367
+ }
368
+ .swagger-ui-wrap .model-signature ul.signature-nav li {
369
+ float: left;
370
+ margin: 0 5px 5px 0;
371
+ padding: 2px 5px 2px 0;
372
+ border-right: 1px solid #ddd;
373
+ }
374
+ .swagger-ui-wrap .model-signature .propOpt {
375
+ color: #555;
376
+ }
377
+ .swagger-ui-wrap .model-signature .snippet small {
378
+ font-size: 0.75em;
379
+ }
380
+ .swagger-ui-wrap .model-signature .propOptKey {
381
+ font-style: italic;
382
+ }
383
+ .swagger-ui-wrap .model-signature .description .strong {
384
+ font-weight: bold;
385
+ color: #000;
386
+ font-size: .9em;
387
+ }
388
+ .swagger-ui-wrap .model-signature .description div {
389
+ font-size: 0.9em;
390
+ line-height: 1.5em;
391
+ margin-left: 1em;
392
+ }
393
+ .swagger-ui-wrap .model-signature .description .stronger {
394
+ font-weight: bold;
395
+ color: #000;
396
+ }
397
+ .swagger-ui-wrap .model-signature .propName {
398
+ font-weight: bold;
399
+ }
400
+ .swagger-ui-wrap .model-signature .signature-container {
401
+ clear: both;
402
+ }
403
+ .swagger-ui-wrap .body-textarea {
404
+ width: 300px;
405
+ height: 100px;
406
+ border: 1px solid #aaa;
407
+ }
408
+ .swagger-ui-wrap .markdown p code,
409
+ .swagger-ui-wrap .markdown li code {
410
+ font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
411
+ background-color: #f0f0f0;
412
+ color: black;
413
+ padding: 1px 3px;
414
+ }
415
+ .swagger-ui-wrap .required {
416
+ font-weight: bold;
417
+ }
418
+ .swagger-ui-wrap input.parameter {
419
+ width: 300px;
420
+ border: 1px solid #aaa;
421
+ }
422
+ .swagger-ui-wrap h1 {
423
+ color: black;
424
+ font-size: 1.5em;
425
+ line-height: 1.3em;
426
+ padding: 10px 0 10px 0;
427
+ font-family: "Droid Sans", sans-serif;
428
+ font-weight: bold;
429
+ }
430
+ .swagger-ui-wrap .heading_with_menu {
431
+ float: none;
432
+ clear: both;
433
+ overflow: hidden;
434
+ display: block;
435
+ }
436
+ .swagger-ui-wrap .heading_with_menu ul {
437
+ display: block;
438
+ clear: none;
439
+ float: right;
440
+ -moz-box-sizing: border-box;
441
+ -webkit-box-sizing: border-box;
442
+ -ms-box-sizing: border-box;
443
+ box-sizing: border-box;
444
+ margin-top: 10px;
445
+ }
446
+ .swagger-ui-wrap h2 {
447
+ color: black;
448
+ font-size: 1.3em;
449
+ padding: 10px 0 10px 0;
450
+ }
451
+ .swagger-ui-wrap h2 a {
452
+ color: black;
453
+ }
454
+ .swagger-ui-wrap h2 span.sub {
455
+ font-size: 0.7em;
456
+ color: #999999;
457
+ font-style: italic;
458
+ }
459
+ .swagger-ui-wrap h2 span.sub a {
460
+ color: #777777;
461
+ }
462
+ .swagger-ui-wrap span.weak {
463
+ color: #666666;
464
+ }
465
+ .swagger-ui-wrap .message-success {
466
+ color: #89BF04;
467
+ }
468
+ .swagger-ui-wrap caption,
469
+ .swagger-ui-wrap th,
470
+ .swagger-ui-wrap td {
471
+ text-align: left;
472
+ font-weight: normal;
473
+ vertical-align: middle;
474
+ }
475
+ .swagger-ui-wrap .code {
476
+ font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
477
+ }
478
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li.text textarea {
479
+ font-family: "Droid Sans", sans-serif;
480
+ height: 250px;
481
+ padding: 4px;
482
+ display: block;
483
+ clear: both;
484
+ }
485
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li.select select {
486
+ display: block;
487
+ clear: both;
488
+ }
489
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li.boolean {
490
+ float: none;
491
+ clear: both;
492
+ overflow: hidden;
493
+ display: block;
494
+ }
495
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li.boolean label {
496
+ display: block;
497
+ float: left;
498
+ clear: none;
499
+ margin: 0;
500
+ padding: 0;
501
+ }
502
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li.boolean input {
503
+ display: block;
504
+ float: left;
505
+ clear: none;
506
+ margin: 0 5px 0 0;
507
+ }
508
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li.required label {
509
+ color: black;
510
+ }
511
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li label {
512
+ display: block;
513
+ clear: both;
514
+ width: auto;
515
+ padding: 0 0 3px;
516
+ color: #666666;
517
+ }
518
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li label abbr {
519
+ padding-left: 3px;
520
+ color: #888888;
521
+ }
522
+ .swagger-ui-wrap form.formtastic fieldset.inputs ol li p.inline-hints {
523
+ margin-left: 0;
524
+ font-style: italic;
525
+ font-size: 0.9em;
526
+ margin: 0;
527
+ }
528
+ .swagger-ui-wrap form.formtastic fieldset.buttons {
529
+ margin: 0;
530
+ padding: 0;
531
+ }
532
+ .swagger-ui-wrap span.blank,
533
+ .swagger-ui-wrap span.empty {
534
+ color: #888888;
535
+ font-style: italic;
536
+ }
537
+ .swagger-ui-wrap .markdown h3 {
538
+ color: #547f00;
539
+ }
540
+ .swagger-ui-wrap .markdown h4 {
541
+ color: #666666;
542
+ }
543
+ .swagger-ui-wrap .markdown pre {
544
+ font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
545
+ background-color: #fcf6db;
546
+ border: 1px solid #e5e0c6;
547
+ padding: 10px;
548
+ margin: 0 0 10px 0;
549
+ }
550
+ .swagger-ui-wrap .markdown pre code {
551
+ line-height: 1.6em;
552
+ }
553
+ .swagger-ui-wrap div.gist {
554
+ margin: 20px 0 25px 0 !important;
555
+ }
556
+ .swagger-ui-wrap ul#resources {
557
+ font-family: "Droid Sans", sans-serif;
558
+ font-size: 0.9em;
559
+ }
560
+ .swagger-ui-wrap ul#resources li.resource {
561
+ border-bottom: 1px solid #dddddd;
562
+ }
563
+ .swagger-ui-wrap ul#resources li.resource:hover div.heading h2 a,
564
+ .swagger-ui-wrap ul#resources li.resource.active div.heading h2 a {
565
+ color: black;
566
+ }
567
+ .swagger-ui-wrap ul#resources li.resource:hover div.heading ul.options li a,
568
+ .swagger-ui-wrap ul#resources li.resource.active div.heading ul.options li a {
569
+ color: #555555;
570
+ }
571
+ .swagger-ui-wrap ul#resources li.resource:last-child {
572
+ border-bottom: none;
573
+ }
574
+ .swagger-ui-wrap ul#resources li.resource div.heading {
575
+ border: 1px solid transparent;
576
+ float: none;
577
+ clear: both;
578
+ overflow: hidden;
579
+ display: block;
580
+ }
581
+ .swagger-ui-wrap ul#resources li.resource div.heading ul.options {
582
+ overflow: hidden;
583
+ padding: 0;
584
+ display: block;
585
+ clear: none;
586
+ float: right;
587
+ margin: 14px 10px 0 0;
588
+ }
589
+ .swagger-ui-wrap ul#resources li.resource div.heading ul.options li {
590
+ float: left;
591
+ clear: none;
592
+ margin: 0;
593
+ padding: 2px 10px;
594
+ border-right: 1px solid #dddddd;
595
+ color: #666666;
596
+ font-size: 0.9em;
597
+ }
598
+ .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a {
599
+ color: #aaaaaa;
600
+ text-decoration: none;
601
+ }
602
+ .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a:hover {
603
+ text-decoration: underline;
604
+ color: black;
605
+ }
606
+ .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a:hover,
607
+ .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a:active,
608
+ .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a.active {
609
+ text-decoration: underline;
610
+ }
611
+ .swagger-ui-wrap ul#resources li.resource div.heading ul.options li:first-child,
612
+ .swagger-ui-wrap ul#resources li.resource div.heading ul.options li.first {
613
+ padding-left: 0;
614
+ }
615
+ .swagger-ui-wrap ul#resources li.resource div.heading ul.options li:last-child,
616
+ .swagger-ui-wrap ul#resources li.resource div.heading ul.options li.last {
617
+ padding-right: 0;
618
+ border-right: none;
619
+ }
620
+ .swagger-ui-wrap ul#resources li.resource div.heading ul.options:first-child,
621
+ .swagger-ui-wrap ul#resources li.resource div.heading ul.options.first {
622
+ padding-left: 0;
623
+ }
624
+ .swagger-ui-wrap ul#resources li.resource div.heading h2 {
625
+ color: #999999;
626
+ padding-left: 0;
627
+ display: block;
628
+ clear: none;
629
+ float: left;
630
+ font-family: "Droid Sans", sans-serif;
631
+ font-weight: bold;
632
+ }
633
+ .swagger-ui-wrap ul#resources li.resource div.heading h2 a {
634
+ color: #999999;
635
+ }
636
+ .swagger-ui-wrap ul#resources li.resource div.heading h2 a:hover {
637
+ color: black;
638
+ }
639
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation {
640
+ float: none;
641
+ clear: both;
642
+ overflow: hidden;
643
+ display: block;
644
+ margin: 0 0 10px;
645
+ padding: 0;
646
+ }
647
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading {
648
+ float: none;
649
+ clear: both;
650
+ overflow: hidden;
651
+ display: block;
652
+ margin: 0;
653
+ padding: 0;
654
+ }
655
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 {
656
+ display: block;
657
+ clear: none;
658
+ float: left;
659
+ width: auto;
660
+ margin: 0;
661
+ padding: 0;
662
+ line-height: 1.1em;
663
+ color: black;
664
+ }
665
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path {
666
+ padding-left: 10px;
667
+ }
668
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path a {
669
+ color: black;
670
+ text-decoration: none;
671
+ }
672
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path a:hover {
673
+ text-decoration: underline;
674
+ }
675
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.http_method a {
676
+ text-transform: uppercase;
677
+ text-decoration: none;
678
+ color: white;
679
+ display: inline-block;
680
+ width: 50px;
681
+ font-size: 0.7em;
682
+ text-align: center;
683
+ padding: 7px 0 4px;
684
+ -moz-border-radius: 2px;
685
+ -webkit-border-radius: 2px;
686
+ -o-border-radius: 2px;
687
+ -ms-border-radius: 2px;
688
+ -khtml-border-radius: 2px;
689
+ border-radius: 2px;
690
+ }
691
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span {
692
+ margin: 0;
693
+ padding: 0;
694
+ }
695
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading ul.options {
696
+ overflow: hidden;
697
+ padding: 0;
698
+ display: block;
699
+ clear: none;
700
+ float: right;
701
+ margin: 6px 10px 0 0;
702
+ }
703
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading ul.options li {
704
+ float: left;
705
+ clear: none;
706
+ margin: 0;
707
+ padding: 2px 10px;
708
+ font-size: 0.9em;
709
+ }
710
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading ul.options li a {
711
+ text-decoration: none;
712
+ }
713
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content {
714
+ border-top: none;
715
+ padding: 10px;
716
+ -moz-border-radius-bottomleft: 6px;
717
+ -webkit-border-bottom-left-radius: 6px;
718
+ -o-border-bottom-left-radius: 6px;
719
+ -ms-border-bottom-left-radius: 6px;
720
+ -khtml-border-bottom-left-radius: 6px;
721
+ border-bottom-left-radius: 6px;
722
+ -moz-border-radius-bottomright: 6px;
723
+ -webkit-border-bottom-right-radius: 6px;
724
+ -o-border-bottom-right-radius: 6px;
725
+ -ms-border-bottom-right-radius: 6px;
726
+ -khtml-border-bottom-right-radius: 6px;
727
+ border-bottom-right-radius: 6px;
728
+ margin: 0 0 20px;
729
+ }
730
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content h4 {
731
+ font-size: 1.1em;
732
+ margin: 0;
733
+ padding: 15px 0 5px;
734
+ }
735
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header {
736
+ float: none;
737
+ clear: both;
738
+ overflow: hidden;
739
+ display: block;
740
+ }
741
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header a {
742
+ padding: 4px 0 0 10px;
743
+ display: inline-block;
744
+ font-size: 0.9em;
745
+ }
746
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header img {
747
+ display: block;
748
+ clear: none;
749
+ float: right;
750
+ }
751
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header input.submit {
752
+ display: block;
753
+ clear: none;
754
+ float: left;
755
+ padding: 6px 8px;
756
+ }
757
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content form input[type='text'].error {
758
+ outline: 2px solid black;
759
+ outline-color: #cc0000;
760
+ }
761
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.response div.block pre {
762
+ font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
763
+ padding: 10px;
764
+ font-size: 0.9em;
765
+ max-height: 400px;
766
+ overflow-y: auto;
767
+ }
768
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading {
769
+ background-color: #f9f2e9;
770
+ border: 1px solid #f0e0ca;
771
+ }
772
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading h3 span.http_method a {
773
+ background-color: #c5862b;
774
+ }
775
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li {
776
+ border-right: 1px solid #dddddd;
777
+ border-right-color: #f0e0ca;
778
+ color: #c5862b;
779
+ }
780
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li a {
781
+ color: #c5862b;
782
+ }
783
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content {
784
+ background-color: #faf5ee;
785
+ border: 1px solid #f0e0ca;
786
+ }
787
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content h4 {
788
+ color: #c5862b;
789
+ }
790
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content div.sandbox_header a {
791
+ color: #dcb67f;
792
+ }
793
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading {
794
+ background-color: #fcffcd;
795
+ border: 1px solid black;
796
+ border-color: #ffd20f;
797
+ }
798
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading h3 span.http_method a {
799
+ text-transform: uppercase;
800
+ background-color: #ffd20f;
801
+ }
802
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li {
803
+ border-right: 1px solid #dddddd;
804
+ border-right-color: #ffd20f;
805
+ color: #ffd20f;
806
+ }
807
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li a {
808
+ color: #ffd20f;
809
+ }
810
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content {
811
+ background-color: #fcffcd;
812
+ border: 1px solid black;
813
+ border-color: #ffd20f;
814
+ }
815
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content h4 {
816
+ color: #ffd20f;
817
+ }
818
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content div.sandbox_header a {
819
+ color: #6fc992;
820
+ }
821
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading {
822
+ background-color: #f5e8e8;
823
+ border: 1px solid #e8c6c7;
824
+ }
825
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading h3 span.http_method a {
826
+ text-transform: uppercase;
827
+ background-color: #a41e22;
828
+ }
829
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li {
830
+ border-right: 1px solid #dddddd;
831
+ border-right-color: #e8c6c7;
832
+ color: #a41e22;
833
+ }
834
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li a {
835
+ color: #a41e22;
836
+ }
837
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content {
838
+ background-color: #f7eded;
839
+ border: 1px solid #e8c6c7;
840
+ }
841
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content h4 {
842
+ color: #a41e22;
843
+ }
844
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content div.sandbox_header a {
845
+ color: #c8787a;
846
+ }
847
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading {
848
+ background-color: #e7f6ec;
849
+ border: 1px solid #c3e8d1;
850
+ }
851
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3 span.http_method a {
852
+ background-color: #10a54a;
853
+ }
854
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li {
855
+ border-right: 1px solid #dddddd;
856
+ border-right-color: #c3e8d1;
857
+ color: #10a54a;
858
+ }
859
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li a {
860
+ color: #10a54a;
861
+ }
862
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content {
863
+ background-color: #ebf7f0;
864
+ border: 1px solid #c3e8d1;
865
+ }
866
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content h4 {
867
+ color: #10a54a;
868
+ }
869
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content div.sandbox_header a {
870
+ color: #6fc992;
871
+ }
872
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading {
873
+ background-color: #FCE9E3;
874
+ border: 1px solid #F5D5C3;
875
+ }
876
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading h3 span.http_method a {
877
+ background-color: #D38042;
878
+ }
879
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li {
880
+ border-right: 1px solid #dddddd;
881
+ border-right-color: #f0cecb;
882
+ color: #D38042;
883
+ }
884
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li a {
885
+ color: #D38042;
886
+ }
887
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content {
888
+ background-color: #faf0ef;
889
+ border: 1px solid #f0cecb;
890
+ }
891
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content h4 {
892
+ color: #D38042;
893
+ }
894
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content div.sandbox_header a {
895
+ color: #dcb67f;
896
+ }
897
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading {
898
+ background-color: #e7f0f7;
899
+ border: 1px solid #c3d9ec;
900
+ }
901
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading h3 span.http_method a {
902
+ background-color: #0f6ab4;
903
+ }
904
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li {
905
+ border-right: 1px solid #dddddd;
906
+ border-right-color: #c3d9ec;
907
+ color: #0f6ab4;
908
+ }
909
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li a {
910
+ color: #0f6ab4;
911
+ }
912
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content {
913
+ background-color: #ebf3f9;
914
+ border: 1px solid #c3d9ec;
915
+ }
916
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content h4 {
917
+ color: #0f6ab4;
918
+ }
919
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content div.sandbox_header a {
920
+ color: #6fa5d2;
921
+ }
922
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content,
923
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content,
924
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content,
925
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content,
926
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content,
927
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content {
928
+ border-top: none;
929
+ }
930
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li:last-child,
931
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li:last-child,
932
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li:last-child,
933
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li:last-child,
934
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li:last-child,
935
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li:last-child,
936
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li.last,
937
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li.last,
938
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li.last,
939
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li.last,
940
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li.last,
941
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li.last {
942
+ padding-right: 0;
943
+ border-right: none;
944
+ }
945
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li a:hover,
946
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li a:active,
947
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li a.active {
948
+ text-decoration: underline;
949
+ }
950
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li:first-child,
951
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li.first {
952
+ padding-left: 0;
953
+ }
954
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations:first-child,
955
+ .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations.first {
956
+ padding-left: 0;
957
+ }
958
+ .swagger-ui-wrap p#colophon {
959
+ margin: 0 15px 40px 15px;
960
+ padding: 10px 0;
961
+ font-size: 0.8em;
962
+ border-top: 1px solid #dddddd;
963
+ font-family: "Droid Sans", sans-serif;
964
+ color: #999999;
965
+ font-style: italic;
966
+ }
967
+ .swagger-ui-wrap p#colophon a {
968
+ text-decoration: none;
969
+ color: #547f00;
970
+ }
971
+ .swagger-ui-wrap h3 {
972
+ color: black;
973
+ font-size: 1.1em;
974
+ padding: 10px 0 10px 0;
975
+ }
976
+ .swagger-ui-wrap .markdown ol,
977
+ .swagger-ui-wrap .markdown ul {
978
+ font-family: "Droid Sans", sans-serif;
979
+ margin: 5px 0 10px;
980
+ padding: 0 0 0 18px;
981
+ list-style-type: disc;
982
+ }
983
+ .swagger-ui-wrap form.form_box {
984
+ background-color: #ebf3f9;
985
+ border: 1px solid #c3d9ec;
986
+ padding: 10px;
987
+ }
988
+ .swagger-ui-wrap form.form_box label {
989
+ color: #0f6ab4 !important;
990
+ }
991
+ .swagger-ui-wrap form.form_box input[type=submit] {
992
+ display: block;
993
+ padding: 10px;
994
+ }
995
+ .swagger-ui-wrap form.form_box p.weak {
996
+ font-size: 0.8em;
997
+ }
998
+ .swagger-ui-wrap form.form_box p {
999
+ font-size: 0.9em;
1000
+ padding: 0 0 15px;
1001
+ color: #7e7b6d;
1002
+ }
1003
+ .swagger-ui-wrap form.form_box p a {
1004
+ color: #646257;
1005
+ }
1006
+ .swagger-ui-wrap form.form_box p strong {
1007
+ color: black;
1008
+ }
1009
+ #header {
1010
+ background-color: #89bf04;
1011
+ padding: 14px;
1012
+ }
1013
+ #header a#logo {
1014
+ font-size: 1.5em;
1015
+ font-weight: bold;
1016
+ text-decoration: none;
1017
+ background: transparent url(../images/logo_small.png) no-repeat left center;
1018
+ padding: 20px 0 20px 40px;
1019
+ color: white;
1020
+ }
1021
+ #header form#api_selector {
1022
+ display: block;
1023
+ clear: none;
1024
+ float: right;
1025
+ }
1026
+ #header form#api_selector .input {
1027
+ display: block;
1028
+ clear: none;
1029
+ float: left;
1030
+ margin: 0 10px 0 0;
1031
+ }
1032
+ #header form#api_selector .input input#input_apiKey {
1033
+ width: 200px;
1034
+ }
1035
+ #header form#api_selector .input input#input_baseUrl {
1036
+ width: 400px;
1037
+ }
1038
+ #header form#api_selector .input a#explore {
1039
+ display: block;
1040
+ text-decoration: none;
1041
+ font-weight: bold;
1042
+ padding: 6px 8px;
1043
+ font-size: 0.9em;
1044
+ color: white;
1045
+ background-color: #547f00;
1046
+ -moz-border-radius: 4px;
1047
+ -webkit-border-radius: 4px;
1048
+ -o-border-radius: 4px;
1049
+ -ms-border-radius: 4px;
1050
+ -khtml-border-radius: 4px;
1051
+ border-radius: 4px;
1052
+ }
1053
+ #header form#api_selector .input a#explore:hover {
1054
+ background-color: #547f00;
1055
+ }
1056
+ #header form#api_selector .input input {
1057
+ font-size: 0.9em;
1058
+ padding: 3px;
1059
+ margin: 0;
1060
+ }
1061
+ #content_message {
1062
+ margin: 10px 15px;
1063
+ font-style: italic;
1064
+ color: #999999;
1065
+ }
1066
+ #message-bar {
1067
+ min-height: 30px;
1068
+ text-align: center;
1069
+ padding-top: 10px;
1070
+ }