dpn_swagger_engine 2.0.0.rc

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +11 -0
  3. data/.travis.yml +5 -0
  4. data/Gemfile +14 -0
  5. data/LICENSE.txt +22 -0
  6. data/README.md +123 -0
  7. data/Rakefile +37 -0
  8. data/app/assets/fonts/swagger_engine/DroidSans-Bold.ttf +0 -0
  9. data/app/assets/fonts/swagger_engine/DroidSans.ttf +0 -0
  10. data/app/assets/images/swagger_engine/collapse.gif +0 -0
  11. data/app/assets/images/swagger_engine/expand.gif +0 -0
  12. data/app/assets/images/swagger_engine/explorer_icons.png +0 -0
  13. data/app/assets/images/swagger_engine/favicon-16x16.png +0 -0
  14. data/app/assets/images/swagger_engine/favicon-32x32.png +0 -0
  15. data/app/assets/images/swagger_engine/favicon.ico +0 -0
  16. data/app/assets/images/swagger_engine/logo_small.png +0 -0
  17. data/app/assets/images/swagger_engine/pet_store_api.png +0 -0
  18. data/app/assets/images/swagger_engine/throbber.gif +0 -0
  19. data/app/assets/images/swagger_engine/wordnik_api.png +0 -0
  20. data/app/assets/javascripts/swagger_engine/application.js +24 -0
  21. data/app/assets/javascripts/swagger_engine/lang/ca.js +53 -0
  22. data/app/assets/javascripts/swagger_engine/lang/en.js +56 -0
  23. data/app/assets/javascripts/swagger_engine/lang/es.js +53 -0
  24. data/app/assets/javascripts/swagger_engine/lang/fr.js +54 -0
  25. data/app/assets/javascripts/swagger_engine/lang/geo.js +56 -0
  26. data/app/assets/javascripts/swagger_engine/lang/it.js +52 -0
  27. data/app/assets/javascripts/swagger_engine/lang/ja.js +53 -0
  28. data/app/assets/javascripts/swagger_engine/lang/ko-kr.js +53 -0
  29. data/app/assets/javascripts/swagger_engine/lang/pl.js +53 -0
  30. data/app/assets/javascripts/swagger_engine/lang/pt.js +53 -0
  31. data/app/assets/javascripts/swagger_engine/lang/ru.js +56 -0
  32. data/app/assets/javascripts/swagger_engine/lang/tr.js +53 -0
  33. data/app/assets/javascripts/swagger_engine/lang/translator.js +39 -0
  34. data/app/assets/javascripts/swagger_engine/lang/zh-cn.js +53 -0
  35. data/app/assets/javascripts/swagger_engine/lib/backbone-min.js +15 -0
  36. data/app/assets/javascripts/swagger_engine/lib/es5-shim.js +2065 -0
  37. data/app/assets/javascripts/swagger_engine/lib/handlebars-4.0.5.js +4608 -0
  38. data/app/assets/javascripts/swagger_engine/lib/highlight.9.1.0.pack.js +2 -0
  39. data/app/assets/javascripts/swagger_engine/lib/highlight.9.1.0.pack_extended.js +34 -0
  40. data/app/assets/javascripts/swagger_engine/lib/jquery-1.8.0.min.js +2 -0
  41. data/app/assets/javascripts/swagger_engine/lib/jquery.ba-bbq.min.js +18 -0
  42. data/app/assets/javascripts/swagger_engine/lib/jquery.slideto.min.js +1 -0
  43. data/app/assets/javascripts/swagger_engine/lib/jquery.wiggle.min.js +8 -0
  44. data/app/assets/javascripts/swagger_engine/lib/js-yaml.min.js +3 -0
  45. data/app/assets/javascripts/swagger_engine/lib/jsoneditor.min.js +11 -0
  46. data/app/assets/javascripts/swagger_engine/lib/lodash.min.js +102 -0
  47. data/app/assets/javascripts/swagger_engine/lib/marked.js +1272 -0
  48. data/app/assets/javascripts/swagger_engine/lib/object-assign-pollyfill.js +23 -0
  49. data/app/assets/javascripts/swagger_engine/lib/sanitize-html.min.js +6 -0
  50. data/app/assets/javascripts/swagger_engine/lib/swagger-oauth.js +347 -0
  51. data/app/assets/javascripts/swagger_engine/o2c.html +20 -0
  52. data/app/assets/javascripts/swagger_engine/swagger-ui.js +24753 -0
  53. data/app/assets/javascripts/swagger_engine/swagger-ui.min.js +14 -0
  54. data/app/assets/javascripts/swagger_engine/swagger.json +18 -0
  55. data/app/assets/stylesheets/swagger_engine/application.css +12 -0
  56. data/app/assets/stylesheets/swagger_engine/print.css +1367 -0
  57. data/app/assets/stylesheets/swagger_engine/reset.css +125 -0
  58. data/app/assets/stylesheets/swagger_engine/screen.css +1494 -0
  59. data/app/assets/stylesheets/swagger_engine/style.css +250 -0
  60. data/app/assets/stylesheets/swagger_engine/typography.css +14 -0
  61. data/app/controllers/swagger_engine/application_controller.rb +16 -0
  62. data/app/controllers/swagger_engine/swaggers_controller.rb +29 -0
  63. data/app/helpers/swagger_engine/application_helper.rb +4 -0
  64. data/app/helpers/swagger_engine/swagger_helper.rb +4 -0
  65. data/app/views/layouts/swagger_engine/application.html.erb +14 -0
  66. data/app/views/swagger_engine/swaggers/index.html.erb +7 -0
  67. data/app/views/swagger_engine/swaggers/o2c.html +20 -0
  68. data/app/views/swagger_engine/swaggers/show.html.erb +121 -0
  69. data/bin/rails +12 -0
  70. data/bin/setup +8 -0
  71. data/config/routes.rb +4 -0
  72. data/dpn_swagger_engine.gemspec +36 -0
  73. data/lib/swagger_engine/engine.rb +37 -0
  74. data/lib/swagger_engine/version.rb +4 -0
  75. data/lib/swagger_engine.rb +7 -0
  76. data/lib/tasks/swagger_engine_tasks.rake +4 -0
  77. metadata +233 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 8d58edad77939a1a83206c5a41fc94889f743867
4
+ data.tar.gz: ec1fc8e9b3dd973f087391ff787cde37c7aeb11b
5
+ SHA512:
6
+ metadata.gz: 81a819b644aac99d43a13281341c3ba729c19b0e8f0134c02e9f774c16478c251195c4f307803f6776a7f7c85a7caddb33e0ddeed28bdb9e3827349912399ec5
7
+ data.tar.gz: d35cc6997fc8b63bda578f67cfaa1c8a0de3df6f3e0466d5bbb6b5cd0a8ad0135eaa395a57b83f828078512d13ebfc392871634a4fafa4cb4a37178420720ba9
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ Gemfile.lock
2
+ .bundle/
3
+ .gems/
4
+ log/*.log
5
+ pkg/
6
+ test/dummy/db/*.sqlite3
7
+ test/dummy/db/*.sqlite3-journal
8
+ test/dummy/log/*.log
9
+ test/dummy/tmp/
10
+ test/dummy/.sass-cache
11
+ swagger_engine-*.gem
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.1
5
+ before_install: gem install bundler -v 1.12.5
data/Gemfile ADDED
@@ -0,0 +1,14 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Declare your gem's dependencies in swagger_engine.gemspec.
4
+ # Bundler will treat runtime dependencies like base dependencies, and
5
+ # development dependencies will be added by default to the :development group.
6
+ gemspec
7
+
8
+ # Declare any dependencies that are still in development here instead of in
9
+ # your gemspec. These might include edge Rails or gems from your path or
10
+ # Git. Remember to move these dependencies to your gemspec before releasing
11
+ # your gem to rubygems.org.
12
+
13
+ # To use debugger
14
+ # gem 'debugger'
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 batdevis@gmail.com
4
+ Copyright (c) 2016 Darren L. Weber, Ph.D.
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in
14
+ all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,123 @@
1
+ # DPN SwaggerEngine
2
+
3
+ Include [swagger-ui](https://github.com/swagger-api/swagger-ui) as rails engine.
4
+
5
+ ## Swagger specifications
6
+
7
+ https://github.com/swagger-api/swagger-spec/blob/master/versions/2.0.md
8
+
9
+ ## Install
10
+
11
+ Add to Gemfile
12
+
13
+ ```ruby
14
+ gem 'dpn_swagger_engine'
15
+ ```
16
+
17
+ Add to your config/routes.rb
18
+
19
+ ```ruby
20
+ mount SwaggerEngine::Engine, at: "/api-docs"
21
+ ```
22
+
23
+ ### Protect your route
24
+
25
+ #### Devise
26
+
27
+ ```ruby
28
+ authenticate :user do
29
+ mount SwaggerEngine::Engine, at: "/api-docs"
30
+ end
31
+ ```
32
+
33
+ or
34
+
35
+ ```ruby
36
+ authenticate :user, lambda { |u| u.admin? } do
37
+ mount SwaggerEngine::Engine, at: "/api-docs"
38
+ end
39
+ ```
40
+
41
+ #### Basic HTTP Auth
42
+
43
+ Set username and password in `config/initializers/swagger_engine.rb`:
44
+
45
+ ```ruby
46
+ SwaggerEngine.configure do |config|
47
+ config.admin_username = ENV['ADMIN_USERNAME']
48
+ config.admin_password = ENV['ADMIN_PASSWORD']
49
+ end
50
+ ```
51
+
52
+ ## Configure
53
+
54
+ ### JSON files
55
+
56
+ Set the path of your JSON files in a initializer:
57
+
58
+ ```ruby
59
+ #config/initializers/swagger_engine.rb
60
+
61
+ SwaggerEngine.configure do |config|
62
+ config.json_files = {
63
+ v1: "lib/swagger/swagger_v1.json",
64
+ v2: "lib/swagger/swagger_v2.json"
65
+ }
66
+ end
67
+ ```
68
+ `lib/swagger/` is a good place to place them..
69
+
70
+ ### Edit your JSON files
71
+
72
+ Use [Swagger editor](https://github.com/swagger-api/swagger-editor).
73
+
74
+ ## License
75
+
76
+ This project uses the MIT-LICENSE.
77
+
78
+ ## Developed in collaboration with
79
+
80
+ Forked from https://github.com/batdevis/swagger_engine
81
+
82
+ ### Swagger-UI Updates
83
+
84
+ ```sh
85
+ # Download a swagger-ui release and set this to it's 'dist' path
86
+ SWAGGER='../swagger/swagger-ui-2.2.3/dist'
87
+
88
+ # update fonts
89
+ rm app/assets/fonts/swagger_engine/*.*
90
+ rsync -av ${SWAGGER}/fonts/ app/assets/fonts/swagger_engine/
91
+
92
+ # update images
93
+ rm app/assets/images/swagger_engine/*.*
94
+ rsync -av ${SWAGGER}/images/ app/assets/images/swagger_engine/
95
+
96
+ # update css
97
+ rm app/assets/stylesheets/swagger_engine/*.css
98
+ rsync -av ${SWAGGER}/css/ app/assets/stylesheets/swagger_engine/
99
+ # manual edits for the app/assets/stylesheets/swagger_engine/application.css
100
+ # see also includes in app/views/layouts/swagger_engine/application.html.erb
101
+ # see also includes in app/views/swagger_engine/swaggers/show.html.erb
102
+
103
+ # update javascripts
104
+ rm -rf app/assets/javascripts/swagger_engine/lib
105
+ rsync -av ${SWAGGER}/lib app/assets/javascripts/swagger_engine/
106
+ rm -rf app/assets/javascripts/swagger_engine/lang
107
+ rsync -av ${SWAGGER}/lang app/assets/javascripts/swagger_engine/
108
+ rsync -av ${SWAGGER}/swagger*.js app/assets/javascripts/swagger_engine/
109
+ rsync -av ${SWAGGER}/o2c.html app/assets/javascripts/swagger_engine/
110
+ rsync -av ${SWAGGER}/o2c.html app/views/swagger_engine/swaggers/
111
+ # manual edits for the app/assets/javascripts/swagger_engine/application.js
112
+
113
+ # update views
114
+ # manual edits for the app/views/swagger_engine/swaggers/show.html.erb
115
+ # using the code from ${SWAGGER}/index.html
116
+ ```
117
+
118
+ ## DPN Development
119
+
120
+ The swagger-ui has an `api-key` field that is used for the DPN authorization
121
+ token. To accomplish this, there are some modifications to the
122
+ `app/views/swagger_engine/swaggers/show.html.erb`, which add some
123
+ javascript for managing the DPN authorization token.
data/Rakefile ADDED
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+ begin
3
+ require 'bundler/setup'
4
+ require 'bundler/gem_tasks'
5
+ rescue LoadError
6
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
7
+ end
8
+
9
+ require 'rdoc/task'
10
+
11
+ RDoc::Task.new(:rdoc) do |rdoc|
12
+ rdoc.rdoc_dir = 'rdoc'
13
+ rdoc.title = 'SwaggerEngine'
14
+ rdoc.options << '--line-numbers'
15
+ rdoc.rdoc_files.include('README.rdoc')
16
+ rdoc.rdoc_files.include('lib/**/*.rb')
17
+ end
18
+
19
+ Bundler::GemHelper.install_tasks
20
+
21
+ require 'rake/testtask'
22
+
23
+ Rake::TestTask.new(:test) do |t|
24
+ t.libs << 'lib'
25
+ t.libs << 'test'
26
+ t.pattern = 'test/**/*_test.rb'
27
+ t.verbose = false
28
+ end
29
+
30
+ task default: :test
31
+
32
+ ## Gem template code for rspec
33
+ # require 'rspec/core/rake_task'
34
+ #
35
+ # RSpec::Core::RakeTask.new(:spec)
36
+ #
37
+ # task default: :spec
@@ -0,0 +1,24 @@
1
+ // the order matches swagger-ui dist/index.html
2
+
3
+ //= require 'swagger_engine/lib/object-assign-polyfill.js'
4
+ //= require 'swagger_engine/lib/jquery-1.8.0.min.js'
5
+ //= require 'swagger_engine/lib/jquery.slideto.min.js'
6
+ //= require 'swagger_engine/lib/jquery.wiggle.min.js'
7
+ //= require 'swagger_engine/lib/jquery.ba-bbq.min.js'
8
+ //= require 'swagger_engine/lib/handlebars-4.0.5.js'
9
+ //= require 'swagger_engine/lib/lodash.min.js'
10
+ //= require 'swagger_engine/lib/backbone-min.js'
11
+ //= require 'swagger_engine/swagger-ui.js'
12
+
13
+ //= require 'swagger_engine/lib/highlight.9.1.0.pack.js'
14
+ //= require 'swagger_engine/lib/highlight.9.1.0.pack_extended.js'
15
+ //= require 'swagger_engine/lib/jsoneditor.min.js'
16
+ //= require 'swagger_engine/lib/marked.js'
17
+ //= require 'swagger_engine/lib/swagger-oauth.js'
18
+
19
+ //= require 'swagger_engine/lib/es5-shim.js'
20
+ //= require 'swagger_engine/lib/sanitize-html.min.js'
21
+
22
+ // Some basic translations
23
+ //= require 'swagger_engine/lang/translator.js'
24
+ //= require 'swagger_engine/lang/en.js'
@@ -0,0 +1,53 @@
1
+ 'use strict';
2
+
3
+ /* jshint quotmark: double */
4
+ window.SwaggerTranslator.learn({
5
+ "Warning: Deprecated":"Advertència: Obsolet",
6
+ "Implementation Notes":"Notes d'implementació",
7
+ "Response Class":"Classe de la Resposta",
8
+ "Status":"Estatus",
9
+ "Parameters":"Paràmetres",
10
+ "Parameter":"Paràmetre",
11
+ "Value":"Valor",
12
+ "Description":"Descripció",
13
+ "Parameter Type":"Tipus del Paràmetre",
14
+ "Data Type":"Tipus de la Dada",
15
+ "Response Messages":"Missatges de la Resposta",
16
+ "HTTP Status Code":"Codi d'Estatus HTTP",
17
+ "Reason":"Raó",
18
+ "Response Model":"Model de la Resposta",
19
+ "Request URL":"URL de la Sol·licitud",
20
+ "Response Body":"Cos de la Resposta",
21
+ "Response Code":"Codi de la Resposta",
22
+ "Response Headers":"Capçaleres de la Resposta",
23
+ "Hide Response":"Amagar Resposta",
24
+ "Try it out!":"Prova-ho!",
25
+ "Show/Hide":"Mostrar/Amagar",
26
+ "List Operations":"Llista Operacions",
27
+ "Expand Operations":"Expandir Operacions",
28
+ "Raw":"Cru",
29
+ "can't parse JSON. Raw result":"no puc analitzar el JSON. Resultat cru",
30
+ "Example Value":"Valor d'Exemple",
31
+ "Model Schema":"Esquema del Model",
32
+ "Model":"Model",
33
+ "apply":"aplicar",
34
+ "Username":"Nom d'usuari",
35
+ "Password":"Contrasenya",
36
+ "Terms of service":"Termes del servei",
37
+ "Created by":"Creat per",
38
+ "See more at":"Veure més en",
39
+ "Contact the developer":"Contactar amb el desenvolupador",
40
+ "api version":"versió de la api",
41
+ "Response Content Type":"Tipus de Contingut de la Resposta",
42
+ "fetching resource":"recollint recurs",
43
+ "fetching resource list":"recollins llista de recursos",
44
+ "Explore":"Explorant",
45
+ "Show Swagger Petstore Example Apis":"Mostrar API d'Exemple Swagger Petstore",
46
+ "Can't read from server. It may not have the appropriate access-control-origin settings.":"No es pot llegir del servidor. Potser no teniu la configuració de control d'accés apropiada.",
47
+ "Please specify the protocol for":"Si us plau, especifiqueu el protocol per a",
48
+ "Can't read swagger JSON from":"No es pot llegir el JSON de swagger des de",
49
+ "Finished Loading Resource Information. Rendering Swagger UI":"Finalitzada la càrrega del recurs informatiu. Renderitzant Swagger UI",
50
+ "Unable to read api":"No es pot llegir l'api",
51
+ "from path":"des de la ruta",
52
+ "server returned":"el servidor ha retornat"
53
+ });
@@ -0,0 +1,56 @@
1
+ 'use strict';
2
+
3
+ /* jshint quotmark: double */
4
+ window.SwaggerTranslator.learn({
5
+ "Warning: Deprecated":"Warning: Deprecated",
6
+ "Implementation Notes":"Implementation Notes",
7
+ "Response Class":"Response Class",
8
+ "Status":"Status",
9
+ "Parameters":"Parameters",
10
+ "Parameter":"Parameter",
11
+ "Value":"Value",
12
+ "Description":"Description",
13
+ "Parameter Type":"Parameter Type",
14
+ "Data Type":"Data Type",
15
+ "Response Messages":"Response Messages",
16
+ "HTTP Status Code":"HTTP Status Code",
17
+ "Reason":"Reason",
18
+ "Response Model":"Response Model",
19
+ "Request URL":"Request URL",
20
+ "Response Body":"Response Body",
21
+ "Response Code":"Response Code",
22
+ "Response Headers":"Response Headers",
23
+ "Hide Response":"Hide Response",
24
+ "Headers":"Headers",
25
+ "Try it out!":"Try it out!",
26
+ "Show/Hide":"Show/Hide",
27
+ "List Operations":"List Operations",
28
+ "Expand Operations":"Expand Operations",
29
+ "Raw":"Raw",
30
+ "can't parse JSON. Raw result":"can't parse JSON. Raw result",
31
+ "Example Value":"Example Value",
32
+ "Model Schema":"Model Schema",
33
+ "Model":"Model",
34
+ "Click to set as parameter value":"Click to set as parameter value",
35
+ "apply":"apply",
36
+ "Username":"Username",
37
+ "Password":"Password",
38
+ "Terms of service":"Terms of service",
39
+ "Created by":"Created by",
40
+ "See more at":"See more at",
41
+ "Contact the developer":"Contact the developer",
42
+ "api version":"api version",
43
+ "Response Content Type":"Response Content Type",
44
+ "Parameter content type:":"Parameter content type:",
45
+ "fetching resource":"fetching resource",
46
+ "fetching resource list":"fetching resource list",
47
+ "Explore":"Explore",
48
+ "Show Swagger Petstore Example Apis":"Show Swagger Petstore Example Apis",
49
+ "Can't read from server. It may not have the appropriate access-control-origin settings.":"Can't read from server. It may not have the appropriate access-control-origin settings.",
50
+ "Please specify the protocol for":"Please specify the protocol for",
51
+ "Can't read swagger JSON from":"Can't read swagger JSON from",
52
+ "Finished Loading Resource Information. Rendering Swagger UI":"Finished Loading Resource Information. Rendering Swagger UI",
53
+ "Unable to read api":"Unable to read api",
54
+ "from path":"from path",
55
+ "server returned":"server returned"
56
+ });
@@ -0,0 +1,53 @@
1
+ 'use strict';
2
+
3
+ /* jshint quotmark: double */
4
+ window.SwaggerTranslator.learn({
5
+ "Warning: Deprecated":"Advertencia: Obsoleto",
6
+ "Implementation Notes":"Notas de implementación",
7
+ "Response Class":"Clase de la Respuesta",
8
+ "Status":"Status",
9
+ "Parameters":"Parámetros",
10
+ "Parameter":"Parámetro",
11
+ "Value":"Valor",
12
+ "Description":"Descripción",
13
+ "Parameter Type":"Tipo del Parámetro",
14
+ "Data Type":"Tipo del Dato",
15
+ "Response Messages":"Mensajes de la Respuesta",
16
+ "HTTP Status Code":"Código de Status HTTP",
17
+ "Reason":"Razón",
18
+ "Response Model":"Modelo de la Respuesta",
19
+ "Request URL":"URL de la Solicitud",
20
+ "Response Body":"Cuerpo de la Respuesta",
21
+ "Response Code":"Código de la Respuesta",
22
+ "Response Headers":"Encabezados de la Respuesta",
23
+ "Hide Response":"Ocultar Respuesta",
24
+ "Try it out!":"Pruébalo!",
25
+ "Show/Hide":"Mostrar/Ocultar",
26
+ "List Operations":"Listar Operaciones",
27
+ "Expand Operations":"Expandir Operaciones",
28
+ "Raw":"Crudo",
29
+ "can't parse JSON. Raw result":"no puede parsear el JSON. Resultado crudo",
30
+ "Example Value":"Valor de Ejemplo",
31
+ "Model Schema":"Esquema del Modelo",
32
+ "Model":"Modelo",
33
+ "apply":"aplicar",
34
+ "Username":"Nombre de usuario",
35
+ "Password":"Contraseña",
36
+ "Terms of service":"Términos de Servicio",
37
+ "Created by":"Creado por",
38
+ "See more at":"Ver más en",
39
+ "Contact the developer":"Contactar al desarrollador",
40
+ "api version":"versión de la api",
41
+ "Response Content Type":"Tipo de Contenido (Content Type) de la Respuesta",
42
+ "fetching resource":"buscando recurso",
43
+ "fetching resource list":"buscando lista del recurso",
44
+ "Explore":"Explorar",
45
+ "Show Swagger Petstore Example Apis":"Mostrar Api Ejemplo de Swagger Petstore",
46
+ "Can't read from server. It may not have the appropriate access-control-origin settings.":"No se puede leer del servidor. Tal vez no tiene la configuración de control de acceso de origen (access-control-origin) apropiado.",
47
+ "Please specify the protocol for":"Por favor, especificar el protocola para",
48
+ "Can't read swagger JSON from":"No se puede leer el JSON de swagger desde",
49
+ "Finished Loading Resource Information. Rendering Swagger UI":"Finalizada la carga del recurso de Información. Mostrando Swagger UI",
50
+ "Unable to read api":"No se puede leer la api",
51
+ "from path":"desde ruta",
52
+ "server returned":"el servidor retornó"
53
+ });
@@ -0,0 +1,54 @@
1
+ 'use strict';
2
+
3
+ /* jshint quotmark: double */
4
+ window.SwaggerTranslator.learn({
5
+ "Warning: Deprecated":"Avertissement : Obsolète",
6
+ "Implementation Notes":"Notes d'implémentation",
7
+ "Response Class":"Classe de la réponse",
8
+ "Status":"Statut",
9
+ "Parameters":"Paramètres",
10
+ "Parameter":"Paramètre",
11
+ "Value":"Valeur",
12
+ "Description":"Description",
13
+ "Parameter Type":"Type du paramètre",
14
+ "Data Type":"Type de données",
15
+ "Response Messages":"Messages de la réponse",
16
+ "HTTP Status Code":"Code de statut HTTP",
17
+ "Reason":"Raison",
18
+ "Response Model":"Modèle de réponse",
19
+ "Request URL":"URL appelée",
20
+ "Response Body":"Corps de la réponse",
21
+ "Response Code":"Code de la réponse",
22
+ "Response Headers":"En-têtes de la réponse",
23
+ "Hide Response":"Cacher la réponse",
24
+ "Headers":"En-têtes",
25
+ "Try it out!":"Testez !",
26
+ "Show/Hide":"Afficher/Masquer",
27
+ "List Operations":"Liste des opérations",
28
+ "Expand Operations":"Développer les opérations",
29
+ "Raw":"Brut",
30
+ "can't parse JSON. Raw result":"impossible de décoder le JSON. Résultat brut",
31
+ "Example Value":"Exemple la valeur",
32
+ "Model Schema":"Définition du modèle",
33
+ "Model":"Modèle",
34
+ "apply":"appliquer",
35
+ "Username":"Nom d'utilisateur",
36
+ "Password":"Mot de passe",
37
+ "Terms of service":"Conditions de service",
38
+ "Created by":"Créé par",
39
+ "See more at":"Voir plus sur",
40
+ "Contact the developer":"Contacter le développeur",
41
+ "api version":"version de l'api",
42
+ "Response Content Type":"Content Type de la réponse",
43
+ "fetching resource":"récupération de la ressource",
44
+ "fetching resource list":"récupération de la liste de ressources",
45
+ "Explore":"Explorer",
46
+ "Show Swagger Petstore Example Apis":"Montrer les Apis de l'exemple Petstore de Swagger",
47
+ "Can't read from server. It may not have the appropriate access-control-origin settings.":"Impossible de lire à partir du serveur. Il se peut que les réglages access-control-origin ne soient pas appropriés.",
48
+ "Please specify the protocol for":"Veuillez spécifier un protocole pour",
49
+ "Can't read swagger JSON from":"Impossible de lire le JSON swagger à partir de",
50
+ "Finished Loading Resource Information. Rendering Swagger UI":"Chargement des informations terminé. Affichage de Swagger UI",
51
+ "Unable to read api":"Impossible de lire l'api",
52
+ "from path":"à partir du chemin",
53
+ "server returned":"réponse du serveur"
54
+ });
@@ -0,0 +1,56 @@
1
+ 'use strict';
2
+
3
+ /* jshint quotmark: double */
4
+ window.SwaggerTranslator.learn({
5
+ "Warning: Deprecated":"ყურადღება: აღარ გამოიყენება",
6
+ "Implementation Notes":"იმპლემენტაციის აღწერა",
7
+ "Response Class":"რესპონს კლასი",
8
+ "Status":"სტატუსი",
9
+ "Parameters":"პარამეტრები",
10
+ "Parameter":"პარამეტრი",
11
+ "Value":"მნიშვნელობა",
12
+ "Description":"აღწერა",
13
+ "Parameter Type":"პარამეტრის ტიპი",
14
+ "Data Type":"მონაცემის ტიპი",
15
+ "Response Messages":"პასუხი",
16
+ "HTTP Status Code":"HTTP სტატუსი",
17
+ "Reason":"მიზეზი",
18
+ "Response Model":"რესპონს მოდელი",
19
+ "Request URL":"მოთხოვნის URL",
20
+ "Response Body":"პასუხის სხეული",
21
+ "Response Code":"პასუხის კოდი",
22
+ "Response Headers":"პასუხის ჰედერები",
23
+ "Hide Response":"დამალე პასუხი",
24
+ "Headers":"ჰედერები",
25
+ "Try it out!":"ცადე !",
26
+ "Show/Hide":"გამოჩენა/დამალვა",
27
+ "List Operations":"ოპერაციების სია",
28
+ "Expand Operations":"ოპერაციები ვრცლად",
29
+ "Raw":"ნედლი",
30
+ "can't parse JSON. Raw result":"JSON-ის დამუშავება ვერ მოხერხდა. ნედლი პასუხი",
31
+ "Example Value":"მაგალითი",
32
+ "Model Schema":"მოდელის სტრუქტურა",
33
+ "Model":"მოდელი",
34
+ "Click to set as parameter value":"პარამეტრისთვის მნიშვნელობის მისანიჭებლად, დააკლიკე",
35
+ "apply":"გამოყენება",
36
+ "Username":"მოხმარებელი",
37
+ "Password":"პაროლი",
38
+ "Terms of service":"მომსახურების პირობები",
39
+ "Created by":"შექმნა",
40
+ "See more at":"ნახე ვრცლად",
41
+ "Contact the developer":"დაუკავშირდი დეველოპერს",
42
+ "api version":"api ვერსია",
43
+ "Response Content Type":"პასუხის კონტენტის ტიპი",
44
+ "Parameter content type:":"პარამეტრის კონტენტის ტიპი:",
45
+ "fetching resource":"რესურსების მიღება",
46
+ "fetching resource list":"რესურსების სიის მიღება",
47
+ "Explore":"ნახვა",
48
+ "Show Swagger Petstore Example Apis":"ნახე Swagger Petstore სამაგალითო Api",
49
+ "Can't read from server. It may not have the appropriate access-control-origin settings.":"სერვერთან დაკავშირება ვერ ხერხდება. შეამოწმეთ access-control-origin.",
50
+ "Please specify the protocol for":"მიუთითეთ პროტოკოლი",
51
+ "Can't read swagger JSON from":"swagger JSON წაკითხვა ვერ მოხერხდა",
52
+ "Finished Loading Resource Information. Rendering Swagger UI":"რესურსების ჩატვირთვა სრულდება. Swagger UI რენდერდება",
53
+ "Unable to read api":"api წაკითხვა ვერ მოხერხდა",
54
+ "from path":"მისამართიდან",
55
+ "server returned":"სერვერმა დააბრუნა"
56
+ });
@@ -0,0 +1,52 @@
1
+ 'use strict';
2
+
3
+ /* jshint quotmark: double */
4
+ window.SwaggerTranslator.learn({
5
+ "Warning: Deprecated":"Attenzione: Deprecato",
6
+ "Implementation Notes":"Note di implementazione",
7
+ "Response Class":"Classe della risposta",
8
+ "Status":"Stato",
9
+ "Parameters":"Parametri",
10
+ "Parameter":"Parametro",
11
+ "Value":"Valore",
12
+ "Description":"Descrizione",
13
+ "Parameter Type":"Tipo di parametro",
14
+ "Data Type":"Tipo di dato",
15
+ "Response Messages":"Messaggi della risposta",
16
+ "HTTP Status Code":"Codice stato HTTP",
17
+ "Reason":"Motivo",
18
+ "Response Model":"Modello di risposta",
19
+ "Request URL":"URL della richiesta",
20
+ "Response Body":"Corpo della risposta",
21
+ "Response Code":"Oggetto della risposta",
22
+ "Response Headers":"Intestazioni della risposta",
23
+ "Hide Response":"Nascondi risposta",
24
+ "Try it out!":"Provalo!",
25
+ "Show/Hide":"Mostra/Nascondi",
26
+ "List Operations":"Mostra operazioni",
27
+ "Expand Operations":"Espandi operazioni",
28
+ "Raw":"Grezzo (raw)",
29
+ "can't parse JSON. Raw result":"non è possibile parsare il JSON. Risultato grezzo (raw).",
30
+ "Model Schema":"Schema del modello",
31
+ "Model":"Modello",
32
+ "apply":"applica",
33
+ "Username":"Nome utente",
34
+ "Password":"Password",
35
+ "Terms of service":"Condizioni del servizio",
36
+ "Created by":"Creato da",
37
+ "See more at":"Informazioni aggiuntive:",
38
+ "Contact the developer":"Contatta lo sviluppatore",
39
+ "api version":"versione api",
40
+ "Response Content Type":"Tipo di contenuto (content type) della risposta",
41
+ "fetching resource":"recuperando la risorsa",
42
+ "fetching resource list":"recuperando lista risorse",
43
+ "Explore":"Esplora",
44
+ "Show Swagger Petstore Example Apis":"Mostra le api di esempio di Swagger Petstore",
45
+ "Can't read from server. It may not have the appropriate access-control-origin settings.":"Non è possibile leggere dal server. Potrebbe non avere le impostazioni di controllo accesso origine (access-control-origin) appropriate.",
46
+ "Please specify the protocol for":"Si prega di specificare il protocollo per",
47
+ "Can't read swagger JSON from":"Impossibile leggere JSON swagger da:",
48
+ "Finished Loading Resource Information. Rendering Swagger UI":"Lettura informazioni risorse termianta. Swagger UI viene mostrata",
49
+ "Unable to read api":"Impossibile leggere la api",
50
+ "from path":"da cartella",
51
+ "server returned":"il server ha restituito"
52
+ });