nedforce-grape-swagger-ui 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +22 -0
  3. data/CHANGELOG.md +39 -0
  4. data/Gemfile +4 -0
  5. data/LICENSE.txt +22 -0
  6. data/README.md +78 -0
  7. data/Rakefile +1 -0
  8. data/app/controllers/swagger_controller.rb +8 -0
  9. data/app/views/layouts/swagger.html.erb +96 -0
  10. data/app/views/swagger/index.html +0 -0
  11. data/grape-swagger-ui.gemspec +22 -0
  12. data/lib/generators/swagger/layout/USAGE +8 -0
  13. data/lib/generators/swagger/layout/layout_generator.rb +15 -0
  14. data/lib/generators/swagger/layout/templates/swagger.html.haml +96 -0
  15. data/lib/grape-swagger-ui.rb +19 -0
  16. data/lib/grape-swagger-ui/routes.rb +15 -0
  17. data/lib/grape-swagger-ui/version.rb +7 -0
  18. data/vendor/assets/fonts/DroidSans-Bold.ttf +0 -0
  19. data/vendor/assets/fonts/DroidSans.ttf +0 -0
  20. data/vendor/assets/images/collapse.gif +0 -0
  21. data/vendor/assets/images/expand.gif +0 -0
  22. data/vendor/assets/images/explorer_icons.png +0 -0
  23. data/vendor/assets/images/favicon-16x16.png +0 -0
  24. data/vendor/assets/images/favicon-32x32.png +0 -0
  25. data/vendor/assets/images/favicon.ico +0 -0
  26. data/vendor/assets/images/logo_small.png +0 -0
  27. data/vendor/assets/images/pet_store_api.png +0 -0
  28. data/vendor/assets/images/throbber.gif +0 -0
  29. data/vendor/assets/images/wordnik_api.png +0 -0
  30. data/vendor/assets/javascripts/lang/en.js +56 -0
  31. data/vendor/assets/javascripts/lang/es.js +53 -0
  32. data/vendor/assets/javascripts/lang/fr.js +54 -0
  33. data/vendor/assets/javascripts/lang/geo.js +56 -0
  34. data/vendor/assets/javascripts/lang/it.js +52 -0
  35. data/vendor/assets/javascripts/lang/ja.js +53 -0
  36. data/vendor/assets/javascripts/lang/pl.js +53 -0
  37. data/vendor/assets/javascripts/lang/pt.js +53 -0
  38. data/vendor/assets/javascripts/lang/ru.js +56 -0
  39. data/vendor/assets/javascripts/lang/tr.js +53 -0
  40. data/vendor/assets/javascripts/lang/translator.js +39 -0
  41. data/vendor/assets/javascripts/lang/zh-cn.js +53 -0
  42. data/vendor/assets/javascripts/lib/backbone-min.js +15 -0
  43. data/vendor/assets/javascripts/lib/handlebars-2.0.0.js +28 -0
  44. data/vendor/assets/javascripts/lib/highlight.9.1.0.pack.js +2 -0
  45. data/vendor/assets/javascripts/lib/highlight.9.1.0.pack_extended.js +34 -0
  46. data/vendor/assets/javascripts/lib/jquery-1.8.0.min.js +2 -0
  47. data/vendor/assets/javascripts/lib/jquery.ba-bbq.min.js +18 -0
  48. data/vendor/assets/javascripts/lib/jquery.slideto.min.js +1 -0
  49. data/vendor/assets/javascripts/lib/jquery.wiggle.min.js +8 -0
  50. data/vendor/assets/javascripts/lib/js-yaml.min.js +3 -0
  51. data/vendor/assets/javascripts/lib/jsoneditor.min.js +11 -0
  52. data/vendor/assets/javascripts/lib/lodash.min.js +102 -0
  53. data/vendor/assets/javascripts/lib/marked.js +1272 -0
  54. data/vendor/assets/javascripts/lib/object-assign-pollyfill.js +23 -0
  55. data/vendor/assets/javascripts/lib/swagger-oauth.js +339 -0
  56. data/vendor/assets/javascripts/swagger-ui.js +22278 -0
  57. data/vendor/assets/javascripts/swagger-ui.min.js +9 -0
  58. data/vendor/assets/javascripts/swagger_ui.js +28 -0
  59. data/vendor/assets/stylesheets/print.css +1362 -0
  60. data/vendor/assets/stylesheets/reset.css +125 -0
  61. data/vendor/assets/stylesheets/reset_2.css +125 -0
  62. data/vendor/assets/stylesheets/screen.css +1489 -0
  63. data/vendor/assets/stylesheets/style.css +250 -0
  64. data/vendor/assets/stylesheets/swagger_ui.css +18 -0
  65. data/vendor/assets/stylesheets/swagger_ui_print.css +15 -0
  66. data/vendor/assets/stylesheets/swagger_ui_screen.css +16 -0
  67. data/vendor/assets/stylesheets/typography.css +14 -0
  68. metadata +124 -0
@@ -0,0 +1,15 @@
1
+ module Grape
2
+ module Swagger
3
+ module Ui
4
+ module Routes
5
+
6
+ def self.draw(map)
7
+ map.instance_exec do
8
+ get "/api/swagger", :to => 'swagger#index', :as => 'api_swagger'
9
+ end
10
+ end
11
+
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,7 @@
1
+ module Grape
2
+ module Swagger
3
+ module Ui
4
+ VERSION = "0.2.0"
5
+ end
6
+ end
7
+ end
@@ -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
+ });
@@ -0,0 +1,53 @@
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":"Raw",
30
+ "can't parse JSON. Raw result":"JSONへ解釈できません. 未加工の結果",
31
+ "Model Schema":"モデルスキーマ",
32
+ "Model":"モデル",
33
+ "apply":"実行",
34
+ "Username":"ユーザ名",
35
+ "Password":"パスワード",
36
+ "Terms of service":"サービス利用規約",
37
+ "Created by":"Created by",
38
+ "See more at":"See more at",
39
+ "Contact the developer":"開発者に連絡",
40
+ "api version":"APIバージョン",
41
+ "Response Content Type":"レスポンス コンテンツタイプ",
42
+ "fetching resource":"リソースの取得",
43
+ "fetching resource list":"リソース一覧の取得",
44
+ "Explore":"Explore",
45
+ "Show Swagger Petstore Example Apis":"SwaggerペットストアAPIの表示",
46
+ "Can't read from server. It may not have the appropriate access-control-origin settings.":"サーバから読み込めません. 適切なaccess-control-origin設定を持っていない可能性があります.",
47
+ "Please specify the protocol for":"プロトコルを指定してください",
48
+ "Can't read swagger JSON from":"次からswagger JSONを読み込めません",
49
+ "Finished Loading Resource Information. Rendering Swagger UI":"リソース情報の読み込みが完了しました. Swagger UIを描画しています",
50
+ "Unable to read api":"APIを読み込めません",
51
+ "from path":"次のパスから",
52
+ "server returned":"サーバからの返答"
53
+ });
@@ -0,0 +1,53 @@
1
+ 'use strict';
2
+
3
+ /* jshint quotmark: double */
4
+ window.SwaggerTranslator.learn({
5
+ "Warning: Deprecated":"Uwaga: Wycofane",
6
+ "Implementation Notes":"Uwagi Implementacji",
7
+ "Response Class":"Klasa Odpowiedzi",
8
+ "Status":"Status",
9
+ "Parameters":"Parametry",
10
+ "Parameter":"Parametr",
11
+ "Value":"Wartość",
12
+ "Description":"Opis",
13
+ "Parameter Type":"Typ Parametru",
14
+ "Data Type":"Typ Danych",
15
+ "Response Messages":"Wiadomości Odpowiedzi",
16
+ "HTTP Status Code":"Kod Statusu HTTP",
17
+ "Reason":"Przyczyna",
18
+ "Response Model":"Model Odpowiedzi",
19
+ "Request URL":"URL Wywołania",
20
+ "Response Body":"Treść Odpowiedzi",
21
+ "Response Code":"Kod Odpowiedzi",
22
+ "Response Headers":"Nagłówki Odpowiedzi",
23
+ "Hide Response":"Ukryj Odpowiedź",
24
+ "Headers":"Nagłówki",
25
+ "Try it out!":"Wypróbuj!",
26
+ "Show/Hide":"Pokaż/Ukryj",
27
+ "List Operations":"Lista Operacji",
28
+ "Expand Operations":"Rozwiń Operacje",
29
+ "Raw":"Nieprzetworzone",
30
+ "can't parse JSON. Raw result":"nie można przetworzyć pliku JSON. Nieprzetworzone dane",
31
+ "Model Schema":"Schemat Modelu",
32
+ "Model":"Model",
33
+ "apply":"użyj",
34
+ "Username":"Nazwa użytkownika",
35
+ "Password":"Hasło",
36
+ "Terms of service":"Warunki używania",
37
+ "Created by":"Utworzone przez",
38
+ "See more at":"Zobacz więcej na",
39
+ "Contact the developer":"Kontakt z deweloperem",
40
+ "api version":"wersja api",
41
+ "Response Content Type":"Typ Zasobu Odpowiedzi",
42
+ "fetching resource":"ładowanie zasobu",
43
+ "fetching resource list":"ładowanie listy zasobów",
44
+ "Explore":"Eksploruj",
45
+ "Show Swagger Petstore Example Apis":"Pokaż Przykładowe Api Swagger Petstore",
46
+ "Can't read from server. It may not have the appropriate access-control-origin settings.":"Brak połączenia z serwerem. Może on nie mieć odpowiednich ustawień access-control-origin.",
47
+ "Please specify the protocol for":"Proszę podać protokół dla",
48
+ "Can't read swagger JSON from":"Nie można odczytać swagger JSON z",
49
+ "Finished Loading Resource Information. Rendering Swagger UI":"Ukończono Ładowanie Informacji o Zasobie. Renderowanie Swagger UI",
50
+ "Unable to read api":"Nie można odczytać api",
51
+ "from path":"ze ścieżki",
52
+ "server returned":"serwer zwrócił"
53
+ });
@@ -0,0 +1,53 @@
1
+ 'use strict';
2
+
3
+ /* jshint quotmark: double */
4
+ window.SwaggerTranslator.learn({
5
+ "Warning: Deprecated":"Aviso: Depreciado",
6
+ "Implementation Notes":"Notas de Implementação",
7
+ "Response Class":"Classe de resposta",
8
+ "Status":"Status",
9
+ "Parameters":"Parâmetros",
10
+ "Parameter":"Parâmetro",
11
+ "Value":"Valor",
12
+ "Description":"Descrição",
13
+ "Parameter Type":"Tipo de parâmetro",
14
+ "Data Type":"Tipo de dados",
15
+ "Response Messages":"Mensagens de resposta",
16
+ "HTTP Status Code":"Código de status HTTP",
17
+ "Reason":"Razão",
18
+ "Response Model":"Modelo resposta",
19
+ "Request URL":"URL requisição",
20
+ "Response Body":"Corpo da resposta",
21
+ "Response Code":"Código da resposta",
22
+ "Response Headers":"Cabeçalho da resposta",
23
+ "Headers":"Cabeçalhos",
24
+ "Hide Response":"Esconder resposta",
25
+ "Try it out!":"Tente agora!",
26
+ "Show/Hide":"Mostrar/Esconder",
27
+ "List Operations":"Listar operações",
28
+ "Expand Operations":"Expandir operações",
29
+ "Raw":"Cru",
30
+ "can't parse JSON. Raw result":"Falha ao analisar JSON. Resulto cru",
31
+ "Model Schema":"Modelo esquema",
32
+ "Model":"Modelo",
33
+ "apply":"Aplicar",
34
+ "Username":"Usuário",
35
+ "Password":"Senha",
36
+ "Terms of service":"Termos do serviço",
37
+ "Created by":"Criado por",
38
+ "See more at":"Veja mais em",
39
+ "Contact the developer":"Contate o desenvolvedor",
40
+ "api version":"Versão api",
41
+ "Response Content Type":"Tipo de conteúdo da resposta",
42
+ "fetching resource":"busca recurso",
43
+ "fetching resource list":"buscando lista de recursos",
44
+ "Explore":"Explorar",
45
+ "Show Swagger Petstore Example Apis":"Show Swagger Petstore Example Apis",
46
+ "Can't read from server. It may not have the appropriate access-control-origin settings.":"Não é possível ler do servidor. Pode não ter as apropriadas configurações access-control-origin",
47
+ "Please specify the protocol for":"Por favor especifique o protocolo",
48
+ "Can't read swagger JSON from":"Não é possível ler o JSON Swagger de",
49
+ "Finished Loading Resource Information. Rendering Swagger UI":"Carregar informação de recurso finalizada. Renderizando Swagger UI",
50
+ "Unable to read api":"Não foi possível ler api",
51
+ "from path":"do caminho",
52
+ "server returned":"servidor retornou"
53
+ });