apipierails3 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +17 -0
- data/.gitignore +14 -0
- data/.rspec +2 -0
- data/.travis.yml +27 -0
- data/APACHE-LICENSE-2.0 +202 -0
- data/CHANGELOG.md +469 -0
- data/Gemfile +1 -0
- data/Gemfile.rails32 +6 -0
- data/Gemfile.rails41 +6 -0
- data/Gemfile.rails42 +11 -0
- data/Gemfile.rails50 +6 -0
- data/Gemfile.rails51 +7 -0
- data/MIT-LICENSE +20 -0
- data/NOTICE +4 -0
- data/PROPOSAL_FOR_RESPONSE_DESCRIPTIONS.md +244 -0
- data/README.rst +1874 -0
- data/Rakefile +13 -0
- data/apipierails3.gemspec +27 -0
- data/app/controllers/apipie/apipies_controller.rb +199 -0
- data/app/helpers/apipie_helper.rb +10 -0
- data/app/public/apipie/javascripts/apipie.js +6 -0
- data/app/public/apipie/javascripts/bundled/bootstrap-collapse.js +138 -0
- data/app/public/apipie/javascripts/bundled/bootstrap.js +1726 -0
- data/app/public/apipie/javascripts/bundled/jquery.js +5 -0
- data/app/public/apipie/javascripts/bundled/prettify.js +28 -0
- data/app/public/apipie/stylesheets/application.css +7 -0
- data/app/public/apipie/stylesheets/bundled/bootstrap-responsive.min.css +12 -0
- data/app/public/apipie/stylesheets/bundled/bootstrap.min.css +689 -0
- data/app/public/apipie/stylesheets/bundled/prettify.css +30 -0
- data/app/views/apipie/apipies/_disqus.html.erb +13 -0
- data/app/views/apipie/apipies/_errors.html.erb +23 -0
- data/app/views/apipie/apipies/_headers.html.erb +26 -0
- data/app/views/apipie/apipies/_languages.erb +6 -0
- data/app/views/apipie/apipies/_metadata.erb +1 -0
- data/app/views/apipie/apipies/_method_detail.erb +61 -0
- data/app/views/apipie/apipies/_params.html.erb +42 -0
- data/app/views/apipie/apipies/_params_plain.html.erb +20 -0
- data/app/views/apipie/apipies/apipie_404.html.erb +17 -0
- data/app/views/apipie/apipies/apipie_checksum.json.erb +1 -0
- data/app/views/apipie/apipies/getting_started.html.erb +6 -0
- data/app/views/apipie/apipies/index.html.erb +56 -0
- data/app/views/apipie/apipies/method.html.erb +41 -0
- data/app/views/apipie/apipies/plain.html.erb +77 -0
- data/app/views/apipie/apipies/resource.html.erb +80 -0
- data/app/views/apipie/apipies/static.html.erb +103 -0
- data/app/views/layouts/apipie/apipie.html.erb +27 -0
- data/config/locales/de.yml +28 -0
- data/config/locales/en.yml +32 -0
- data/config/locales/es.yml +28 -0
- data/config/locales/fr.yml +31 -0
- data/config/locales/it.yml +31 -0
- data/config/locales/ja.yml +31 -0
- data/config/locales/pl.yml +28 -0
- data/config/locales/pt-BR.yml +28 -0
- data/config/locales/ru.yml +28 -0
- data/config/locales/tr.yml +28 -0
- data/config/locales/zh-CN.yml +28 -0
- data/config/locales/zh-TW.yml +28 -0
- data/images/screenshot-1.png +0 -0
- data/images/screenshot-2.png +0 -0
- data/lib/apipie/apipie_module.rb +83 -0
- data/lib/apipie/application.rb +462 -0
- data/lib/apipie/configuration.rb +186 -0
- data/lib/apipie/dsl_definition.rb +607 -0
- data/lib/apipie/error_description.rb +44 -0
- data/lib/apipie/errors.rb +86 -0
- data/lib/apipie/extractor.rb +177 -0
- data/lib/apipie/extractor/collector.rb +117 -0
- data/lib/apipie/extractor/recorder.rb +166 -0
- data/lib/apipie/extractor/writer.rb +454 -0
- data/lib/apipie/helpers.rb +73 -0
- data/lib/apipie/markup.rb +48 -0
- data/lib/apipie/method_description.rb +273 -0
- data/lib/apipie/middleware/checksum_in_headers.rb +35 -0
- data/lib/apipie/param_description.rb +280 -0
- data/lib/apipie/railtie.rb +9 -0
- data/lib/apipie/resource_description.rb +124 -0
- data/lib/apipie/response_description.rb +131 -0
- data/lib/apipie/response_description_adapter.rb +200 -0
- data/lib/apipie/routes_formatter.rb +33 -0
- data/lib/apipie/routing.rb +16 -0
- data/lib/apipie/rspec/response_validation_helper.rb +192 -0
- data/lib/apipie/see_description.rb +39 -0
- data/lib/apipie/static_dispatcher.rb +69 -0
- data/lib/apipie/swagger_generator.rb +707 -0
- data/lib/apipie/tag_list_description.rb +11 -0
- data/lib/apipie/validator.rb +526 -0
- data/lib/apipie/version.rb +3 -0
- data/lib/apipierails3.rb +25 -0
- data/lib/generators/apipie/install/README +6 -0
- data/lib/generators/apipie/install/install_generator.rb +25 -0
- data/lib/generators/apipie/install/templates/initializer.rb.erb +7 -0
- data/lib/generators/apipie/views_generator.rb +11 -0
- data/lib/tasks/apipie.rake +345 -0
- data/rel-eng/packages/.readme +3 -0
- data/rel-eng/packages/rubygem-apipie-rails +1 -0
- data/rel-eng/tito.props +5 -0
- data/spec/controllers/api/v1/architectures_controller_spec.rb +29 -0
- data/spec/controllers/api/v2/architectures_controller_spec.rb +12 -0
- data/spec/controllers/api/v2/nested/resources_controller_spec.rb +11 -0
- data/spec/controllers/apipies_controller_spec.rb +273 -0
- data/spec/controllers/concerns_controller_spec.rb +42 -0
- data/spec/controllers/extended_controller_spec.rb +11 -0
- data/spec/controllers/users_controller_spec.rb +740 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/controllers/api/base_controller.rb +4 -0
- data/spec/dummy/app/controllers/api/v1/architectures_controller.rb +43 -0
- data/spec/dummy/app/controllers/api/v1/base_controller.rb +11 -0
- data/spec/dummy/app/controllers/api/v2/architectures_controller.rb +30 -0
- data/spec/dummy/app/controllers/api/v2/base_controller.rb +11 -0
- data/spec/dummy/app/controllers/api/v2/nested/architectures_controller.rb +32 -0
- data/spec/dummy/app/controllers/api/v2/nested/resources_controller.rb +33 -0
- data/spec/dummy/app/controllers/application_controller.rb +18 -0
- data/spec/dummy/app/controllers/concerns/extending_concern.rb +11 -0
- data/spec/dummy/app/controllers/concerns/sample_controller.rb +41 -0
- data/spec/dummy/app/controllers/concerns_controller.rb +8 -0
- data/spec/dummy/app/controllers/extended_controller.rb +14 -0
- data/spec/dummy/app/controllers/files_controller.rb +5 -0
- data/spec/dummy/app/controllers/overridden_concerns_controller.rb +31 -0
- data/spec/dummy/app/controllers/pets_controller.rb +408 -0
- data/spec/dummy/app/controllers/pets_using_auto_views_controller.rb +73 -0
- data/spec/dummy/app/controllers/pets_using_self_describing_classes_controller.rb +95 -0
- data/spec/dummy/app/controllers/tagged_cats_controller.rb +32 -0
- data/spec/dummy/app/controllers/tagged_dogs_controller.rb +15 -0
- data/spec/dummy/app/controllers/twitter_example_controller.rb +307 -0
- data/spec/dummy/app/controllers/users_controller.rb +297 -0
- data/spec/dummy/app/views/layouts/application.html.erb +21 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +49 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +21 -0
- data/spec/dummy/config/environment.rb +8 -0
- data/spec/dummy/config/environments/development.rb +28 -0
- data/spec/dummy/config/environments/production.rb +52 -0
- data/spec/dummy/config/environments/test.rb +38 -0
- data/spec/dummy/config/initializers/apipie.rb +110 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/inflections.rb +10 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +8 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +51 -0
- data/spec/dummy/db/.gitkeep +0 -0
- data/spec/dummy/doc/apipie_examples.json +1 -0
- data/spec/dummy/doc/users/desc_from_file.md +1 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +26 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/stylesheets/.gitkeep +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/lib/application_spec.rb +49 -0
- data/spec/lib/extractor/extractor_spec.rb +9 -0
- data/spec/lib/extractor/middleware_spec.rb +44 -0
- data/spec/lib/extractor/writer_spec.rb +110 -0
- data/spec/lib/file_handler_spec.rb +18 -0
- data/spec/lib/method_description_spec.rb +98 -0
- data/spec/lib/param_description_spec.rb +345 -0
- data/spec/lib/param_group_spec.rb +60 -0
- data/spec/lib/rake_spec.rb +71 -0
- data/spec/lib/resource_description_spec.rb +48 -0
- data/spec/lib/swagger/openapi_2_0_schema.json +1607 -0
- data/spec/lib/swagger/rake_swagger_spec.rb +139 -0
- data/spec/lib/swagger/response_validation_spec.rb +104 -0
- data/spec/lib/swagger/swagger_dsl_spec.rb +658 -0
- data/spec/lib/validator_spec.rb +113 -0
- data/spec/lib/validators/array_validator_spec.rb +85 -0
- data/spec/spec_helper.rb +109 -0
- data/spec/support/rake.rb +21 -0
- metadata +415 -0
@@ -0,0 +1,103 @@
|
|
1
|
+
<% @doc[:resources].sort_by(&:first).each do |key, resource| %>
|
2
|
+
<h4><a href='#<%= key %>'><%= resource[:name] %></a></h4>
|
3
|
+
<ul>
|
4
|
+
<% resource[:methods].each do |method| %>
|
5
|
+
<% if !method[:show] %>
|
6
|
+
<% next %>
|
7
|
+
<% end %>
|
8
|
+
<li><a href='#<%= key %>-<%= method[:name] %>'><%= method[:name] %></a></li>
|
9
|
+
<% end %>
|
10
|
+
</ul>
|
11
|
+
<% end %>
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
<div><%= @doc[:info].html_safe %></div>
|
16
|
+
|
17
|
+
<hr>
|
18
|
+
|
19
|
+
<% @doc[:resources].sort_by(&:first).each do |key, resource| %>
|
20
|
+
|
21
|
+
<ul class='breadcrumb' id='<%= key %>'>
|
22
|
+
<li><a href='#'><%= @doc[:name] %></a><span class='divider'>/</span></li>
|
23
|
+
<li class='active'><%= resource[:name] %></li>
|
24
|
+
</ul>
|
25
|
+
|
26
|
+
<div class='page-header'>
|
27
|
+
<h1>
|
28
|
+
<a href='#<%= key %>'><%= resource[:name] %></a><br>
|
29
|
+
<small><%= raw resource[:short_description] %></small>
|
30
|
+
</h1>
|
31
|
+
</div>
|
32
|
+
|
33
|
+
<% unless resource[:full_description].blank? %>
|
34
|
+
<div><%= raw resource[:full_description] %></div>
|
35
|
+
<% end %>
|
36
|
+
|
37
|
+
<div class='accordion' id='accordion'>
|
38
|
+
|
39
|
+
<% resource[:methods].each do |method| %>
|
40
|
+
<% if !method[:show] %>
|
41
|
+
<% next %>
|
42
|
+
<% end %>
|
43
|
+
<hr>
|
44
|
+
|
45
|
+
<ul class='breadcrumb' id='<%= key %>-<%= method[:name] %>'>
|
46
|
+
<li>
|
47
|
+
<a href='#'><%= @doc[:name] %></a>
|
48
|
+
<span class='divider'>/</span>
|
49
|
+
</li>
|
50
|
+
<li>
|
51
|
+
<a href='#<%= key %>'><%= resource[:name] %></a>
|
52
|
+
<span class='divider'>/</span>
|
53
|
+
</li>
|
54
|
+
<li class='active'><%= method[:name] %></li>
|
55
|
+
</ul>
|
56
|
+
|
57
|
+
<div>
|
58
|
+
<% method[:apis].each do |api| %>
|
59
|
+
<h3>
|
60
|
+
<a href='#<%= key %>-<%= method[:name] %>'>
|
61
|
+
<%= api[:http_method] %> <%= api[:api_url] %>
|
62
|
+
</a><br>
|
63
|
+
<small><%= raw api[:short_description] %></small>
|
64
|
+
</h3>
|
65
|
+
<% end %>
|
66
|
+
</div>
|
67
|
+
|
68
|
+
<div>
|
69
|
+
<%= raw method[:full_description] %>
|
70
|
+
<% unless method[:examples].blank? %>
|
71
|
+
<h2><%= t('apipie.examples') %></h2>
|
72
|
+
<% method[:examples].each do |example| %>
|
73
|
+
<pre><%= example %></pre>
|
74
|
+
<% end %>
|
75
|
+
<% end %>
|
76
|
+
|
77
|
+
<% unless method[:errors].blank? %>
|
78
|
+
<h2><%= t('apipie.errors') %></h2>
|
79
|
+
<%= render(:partial => "errors", :locals => {:errors => method[:errors]}) %>
|
80
|
+
<% end %>
|
81
|
+
|
82
|
+
<% unless method[:params].blank? %>
|
83
|
+
<h2><%= t('apipie.params') %></h2>
|
84
|
+
<table class='table'>
|
85
|
+
<thead>
|
86
|
+
<tr>
|
87
|
+
<th><%= t('apipie.param_name') %></th>
|
88
|
+
<th><%= t('apipie.description') %></th>
|
89
|
+
</tr>
|
90
|
+
</thead>
|
91
|
+
<tbody>
|
92
|
+
<%= render(:partial => "params", :locals => {:params => method[:params]}) %>
|
93
|
+
</tbody>
|
94
|
+
</table>
|
95
|
+
<% end %>
|
96
|
+
</div>
|
97
|
+
<% end %>
|
98
|
+
</div>
|
99
|
+
<% end %>
|
100
|
+
|
101
|
+
<% unless content_for(:apipie_footer) == @doc[:copyright] %>
|
102
|
+
<%= content_for :apipie_footer, raw(@doc[:copyright]) %>
|
103
|
+
<% end %>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title><%= t('apipie.api_documentation', :default => 'Api Documentation') %></title>
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
7
|
+
<%= Apipie.include_stylesheets %>
|
8
|
+
<link type='text/css' rel='stylesheet' href='<%= Apipie.full_url("stylesheets/application.css")%>'/>
|
9
|
+
<!-- IE6-8 support of HTML5 elements -->
|
10
|
+
<!--[if lt IE 9]>
|
11
|
+
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
12
|
+
<![endif]-->
|
13
|
+
</head>
|
14
|
+
<body>
|
15
|
+
<div class="container-fluid">
|
16
|
+
<div class="row-fluid">
|
17
|
+
<div id='container'>
|
18
|
+
<%= yield %>
|
19
|
+
<%= render 'disqus' if Apipie.configuration.use_disqus? %>
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
<hr>
|
23
|
+
<footer><%= yield :apipie_footer %></footer>
|
24
|
+
</div>
|
25
|
+
<%= Apipie.include_javascripts %>
|
26
|
+
</body>
|
27
|
+
</html>
|
@@ -0,0 +1,28 @@
|
|
1
|
+
de:
|
2
|
+
apipie:
|
3
|
+
resources: Ressourcen
|
4
|
+
resource: Ressource
|
5
|
+
description: Beschreibung
|
6
|
+
no_docs_found: Keine Dokumentation gefunden
|
7
|
+
no_docs_found_descr: Es wurde keine Dokumentation für die API gefunden.
|
8
|
+
follow_instructions_html: Folge %{href} für eine Anleitung zur Beschreibung der Controller.
|
9
|
+
follow_instructions_href: weitere Anweisungen
|
10
|
+
oops: Upps!!
|
11
|
+
resource_not_found_html: Ressource %{resource} nicht gefunden.
|
12
|
+
method_not_found_html: Methode %{method} für %{resource} nicht gefunden.
|
13
|
+
goto_homepage_html: Öffne %{href}
|
14
|
+
goto_homepage_href: "%{app_name} API-Dokumentation"
|
15
|
+
required: verpflichtend
|
16
|
+
optional: optional
|
17
|
+
nil_allowed: nil erlaubt
|
18
|
+
param_name: Parametername
|
19
|
+
params: Parameter
|
20
|
+
examples: Beispiele
|
21
|
+
metadata: Metadaten
|
22
|
+
errors: Fehler
|
23
|
+
supported_formats: Unterstützte Formate
|
24
|
+
enable_javascript_html: Aktiviere JavaScript für den Aufruf von %{comments_href}.
|
25
|
+
comments_powered_by_disqus: Kommentarfunktion bereitgestellt durch %{disqus}
|
26
|
+
api_documentation: API-Dokumentation
|
27
|
+
headers: Kopfzeilen
|
28
|
+
header_name: Name der Kopfzeile
|
@@ -0,0 +1,32 @@
|
|
1
|
+
en:
|
2
|
+
apipie:
|
3
|
+
resources: Resources
|
4
|
+
resource: Resource
|
5
|
+
description: Description
|
6
|
+
no_docs_found: No documentation found
|
7
|
+
no_docs_found_descr: We have not found any documentation for your API.
|
8
|
+
follow_instructions_html: Follow %{href} on how to describe your controllers.
|
9
|
+
follow_instructions_href: further instructions
|
10
|
+
oops: Oops!!
|
11
|
+
resource_not_found_html: Resource %{resource} not found.
|
12
|
+
method_not_found_html: Method %{method} not found for resource %{resource}.
|
13
|
+
goto_homepage_html: Try going to %{href}
|
14
|
+
goto_homepage_href: "%{app_name} API documentation homepage"
|
15
|
+
required: required
|
16
|
+
optional: optional
|
17
|
+
nil_allowed: nil allowed
|
18
|
+
param_name: Param name
|
19
|
+
params: Params
|
20
|
+
examples: Examples
|
21
|
+
metadata: Metadata
|
22
|
+
errors: Errors
|
23
|
+
error_code: Code
|
24
|
+
error_description: Description
|
25
|
+
error_metadata: Metadata
|
26
|
+
supported_formats: Supported Formats
|
27
|
+
enable_javascript_html: Please enable JavaScript to view the %{comments_href}.
|
28
|
+
comments_powered_by_disqus: comments powered by %{disqus}
|
29
|
+
api_documentation: API documentation
|
30
|
+
headers: Headers
|
31
|
+
header_name: Header name
|
32
|
+
code: Code
|
@@ -0,0 +1,28 @@
|
|
1
|
+
es:
|
2
|
+
apipie:
|
3
|
+
resources: Recursos
|
4
|
+
resource: Recurso
|
5
|
+
description: Descripción
|
6
|
+
no_docs_found: No se encontró la documentación
|
7
|
+
no_docs_found_descr: No hemos encontrado ninguna documentación para tu API.
|
8
|
+
follow_instructions_html: Siga %{href} sobre cómo describir sus controladores.
|
9
|
+
follow_instructions_href: más instrucciones
|
10
|
+
oops: Huy!!
|
11
|
+
resource_not_found_html: Recurso %{resource} no encontrado.
|
12
|
+
method_not_found_html: Método %{method} no encontrado para el recurso %{resource}.
|
13
|
+
goto_homepage_html: Trate de ir a %{href}
|
14
|
+
goto_homepage_href: "%{app_name} página de documentación API "
|
15
|
+
required: requerido
|
16
|
+
optional: opcional
|
17
|
+
nil_allowed: nil permitido
|
18
|
+
param_name: Nombre del parámetro
|
19
|
+
params: Parámetros
|
20
|
+
examples: Ejemplos
|
21
|
+
metadata: Metadatos
|
22
|
+
errors: Errores
|
23
|
+
supported_formats: Formatos soportados
|
24
|
+
enable_javascript_html: Por favor, active JavaScript para ver el %{comments_href}.
|
25
|
+
comments_powered_by_disqus: comentarios gracias a %{disqus}
|
26
|
+
api_documentation: Documentación de la API
|
27
|
+
headers: Cabeceras
|
28
|
+
header_name: Nombre de cabecera
|
@@ -0,0 +1,31 @@
|
|
1
|
+
fr:
|
2
|
+
apipie:
|
3
|
+
resources: Ressources
|
4
|
+
resource: Ressource
|
5
|
+
description: Description
|
6
|
+
no_docs_found: Aucune documentation trouvée
|
7
|
+
no_docs_found_descr: Aucune documentation pour cette API
|
8
|
+
follow_instructions_html: Suivez ces %{href} sur la façon dont décrire vos controlleurs.
|
9
|
+
follow_instructions_href: instructions supplémentaires
|
10
|
+
oops: Oops!!
|
11
|
+
resource_not_found_html: Ressource %{resource} not found.
|
12
|
+
method_not_found_html: Méthode %{method} non trouvée pour la ressource %{resource}.
|
13
|
+
goto_homepage_html: Essayez de regarder %{href}
|
14
|
+
goto_homepage_href: "la page d'accueil %{app_name} API documentation homepage"
|
15
|
+
required: requis
|
16
|
+
optional: optionel
|
17
|
+
nil_allowed: nil autorisé
|
18
|
+
param_name: Nom du paramètre
|
19
|
+
params: Paramètres
|
20
|
+
examples: Exemples
|
21
|
+
metadata: Metadata
|
22
|
+
errors: Erreurs
|
23
|
+
error_code: Code
|
24
|
+
error_description: Description
|
25
|
+
error_metadata: Metadata
|
26
|
+
supported_formats: Formats supportés
|
27
|
+
enable_javascript_html: Activez JavaScript SVP pour afficher la %{comments_href}.
|
28
|
+
comments_powered_by_disqus: section commentaires par %{disqus}
|
29
|
+
api_documentation: documentation API
|
30
|
+
headers: Headers
|
31
|
+
header_name: Nom du header
|
@@ -0,0 +1,31 @@
|
|
1
|
+
it:
|
2
|
+
apipie:
|
3
|
+
resources: Risorse
|
4
|
+
resource: Risorsa
|
5
|
+
description: Descrizione
|
6
|
+
no_docs_found: Nessuna documentazione trovata
|
7
|
+
no_docs_found_descr: Non abbiamo trovato nessuna documentazione per la tua API.
|
8
|
+
follow_instructions_html: Leggi su %{href} come descrivere i tuoi controller.
|
9
|
+
follow_instructions_href: ulteriori istruzioni
|
10
|
+
oops: Ops!!
|
11
|
+
resource_not_found_html: Risorsa %{resource} non trovata.
|
12
|
+
method_not_found_html: Metodo %{method} non trovato per la risorsa %{resource}.
|
13
|
+
goto_homepage_html: Prova ad andare su %{href}
|
14
|
+
goto_homepage_href: "%{app_name} Homepage della documentazione API"
|
15
|
+
required: richiesto
|
16
|
+
optional: opzionale
|
17
|
+
nil_allowed: consentito nil
|
18
|
+
param_name: Nome parametro
|
19
|
+
params: Parametri
|
20
|
+
examples: Esempi
|
21
|
+
metadata: Metadata
|
22
|
+
errors: Errori
|
23
|
+
error_code: Codice
|
24
|
+
error_description: Descrizione
|
25
|
+
error_metadata: Metadata
|
26
|
+
supported_formats: Formati supportati
|
27
|
+
enable_javascript_html: Abilita i JavaScript per vedere %{comments_href}.
|
28
|
+
comments_powered_by_disqus: commenti forniti da %{disqus}
|
29
|
+
api_documentation: Documentazione API
|
30
|
+
headers: Header
|
31
|
+
header_name: Nome Header
|
@@ -0,0 +1,31 @@
|
|
1
|
+
ja:
|
2
|
+
apipie:
|
3
|
+
resources: "リソース"
|
4
|
+
resource: "リソース"
|
5
|
+
description: "記述"
|
6
|
+
no_docs_found: "ドキュメントが見つかりませんでした。"
|
7
|
+
no_docs_found_descr: "あなたのAPIにあう資料が見つかりませんでした。"
|
8
|
+
follow_instructions_html: "コントローラーをどう説明するのか%{href}を参考にしてください。"
|
9
|
+
follow_instructions_href: "具体的な説明"
|
10
|
+
oops: "おっと!"
|
11
|
+
resource_not_found_html: "リソース%{resource}が見つかりませんでした。"
|
12
|
+
method_not_found_html: "リソース%{resource}のためのメソッド%{method}が見つかりませんでした。 ."
|
13
|
+
goto_homepage_html: "%{href}へ移ります。"
|
14
|
+
goto_homepage_href: "%{app_name}APIドキュメントのホームページ"
|
15
|
+
required: "必須"
|
16
|
+
optional: "任意"
|
17
|
+
nil_allowed: "nil可"
|
18
|
+
param_name: "パラメーター名"
|
19
|
+
params: "パラメーター"
|
20
|
+
examples: "例"
|
21
|
+
metadata: "メタデータ"
|
22
|
+
errors: "エラー"
|
23
|
+
error_code: "エラーコード"
|
24
|
+
error_description: "エラー説明"
|
25
|
+
error_metadata: "エラーメタデータ"
|
26
|
+
supported_formats: "サポートフォーマット"
|
27
|
+
enable_javascript_html: "%{comments_href}のJavaScriptをオンにしてください。"
|
28
|
+
comments_powered_by_disqus: "%{disqus}によるコメント"
|
29
|
+
api_documentation: "APIドキュメント"
|
30
|
+
headers: "ヘッダー"
|
31
|
+
header_name: "ヘッダー名"
|
@@ -0,0 +1,28 @@
|
|
1
|
+
pl:
|
2
|
+
apipie:
|
3
|
+
resources: Zasoby
|
4
|
+
resource: Zasób
|
5
|
+
description: Opis
|
6
|
+
no_docs_found: Nie znalezionio dokumentacji
|
7
|
+
no_docs_found_descr: Nie znaleziono dokumentacji dla twojego API.
|
8
|
+
follow_instructions_html: Przejdź do %{href} aby opisać swoje kontrolery.
|
9
|
+
follow_instructions_href: dalsze instrukcje
|
10
|
+
oops: Ups!!
|
11
|
+
resource_not_found_html: Zasób %{resource} nie został znaleziony.
|
12
|
+
method_not_found_html: Metoda %{method} dla zasobu %{resource} nie została znaleziona.
|
13
|
+
goto_homepage_html: Spróbuj przejść do %{href}
|
14
|
+
goto_homepage_href: "%{app_name} Strona główna dokumentacji API"
|
15
|
+
required: wymagany
|
16
|
+
optional: opcjonalny
|
17
|
+
nil_allowed: nil dopuszczalny
|
18
|
+
param_name: Nazwa parametru
|
19
|
+
params: Parametry
|
20
|
+
examples: Przykłady
|
21
|
+
metadata: Metadane
|
22
|
+
errors: Błędy
|
23
|
+
supported_formats: Dostępne formaty
|
24
|
+
enable_javascript_html: Proszę włączyć obsługę JavaScript w celu zobaczenia %{comments_href}.
|
25
|
+
comments_powered_by_disqus: komentarze obsługiwane przez %{disqus}
|
26
|
+
api_documentation: Dokumentacja API
|
27
|
+
headers: Nagłówki
|
28
|
+
header_name: Nazwa nagłówka
|
@@ -0,0 +1,28 @@
|
|
1
|
+
'pt-BR':
|
2
|
+
apipie:
|
3
|
+
resources: Recursos
|
4
|
+
resource: Recurso
|
5
|
+
description: Descrição
|
6
|
+
no_docs_found: Documentação não encontrada
|
7
|
+
no_docs_found_descr: Não encontramos nenhuma documentação para sua API.
|
8
|
+
follow_instructions_html: Siga %{href} para saber como descrever seus controllers.
|
9
|
+
follow_instructions_href: mais instruções
|
10
|
+
oops: Oops!!
|
11
|
+
resource_not_found_html: Recurso %{resource} não encontrado.
|
12
|
+
method_not_found_html: Método %{method} não encontrado para o recurso %{resource}.
|
13
|
+
goto_homepage_html: Tente ir para %{href}
|
14
|
+
goto_homepage_href: "%{app_name} API - Página inicial da documentação"
|
15
|
+
required: requerido
|
16
|
+
optional: opcional
|
17
|
+
nil_allowed: nulo permitido
|
18
|
+
param_name: Nome parâmetro
|
19
|
+
params: Parâmentros
|
20
|
+
examples: Exemplos
|
21
|
+
metadata: Metadado
|
22
|
+
errors: Erros
|
23
|
+
supported_formats: Formatos Suportados
|
24
|
+
enable_javascript_html: Por favor, habilite JavaScript para ver %{comments_href}.
|
25
|
+
comments_powered_by_disqus: comentário feito por %{disqus}
|
26
|
+
api_documentation: Documentação da API
|
27
|
+
headers: Cabeçalhos
|
28
|
+
header_name: Nome cabeçalho
|
@@ -0,0 +1,28 @@
|
|
1
|
+
ru:
|
2
|
+
apipie:
|
3
|
+
resources: Ресурсы
|
4
|
+
resource: Ресурс
|
5
|
+
description: Описание
|
6
|
+
no_docs_found: Документация не найдена
|
7
|
+
no_docs_found_descr: Мы не нашли никакой документации для вашего API.
|
8
|
+
follow_instructions_html: Перейдите по ссылке %{href}, чтобы узнать как описать ваш API.
|
9
|
+
follow_instructions_href: дополнительные инструкции
|
10
|
+
oops: Ой!!
|
11
|
+
resource_not_found_html: Ресурс %{resource} не найден.
|
12
|
+
method_not_found_html: Метод %{method} для ресурса %{resource} не найден.
|
13
|
+
goto_homepage_html: Перейдите %{href}
|
14
|
+
goto_homepage_href: "%{app_name} домашняя страница API документации"
|
15
|
+
required: обязательно
|
16
|
+
optional: необязательно
|
17
|
+
nil_allowed: nil разрешен
|
18
|
+
param_name: Имя параметра
|
19
|
+
params: Параметры
|
20
|
+
examples: Примеры
|
21
|
+
metadata: Метаданные
|
22
|
+
errors: Ошибки
|
23
|
+
supported_formats: Поддерживаемые форматы
|
24
|
+
enable_javascript_html: Пожалуйста включите JavaScript, чтобы просматривать %{comments_href}.
|
25
|
+
comments_powered_by_disqus: комментарии представлены %{disqus}
|
26
|
+
api_documentation: API документация
|
27
|
+
headers: Заголовки
|
28
|
+
header_name: Название заголовка
|
@@ -0,0 +1,28 @@
|
|
1
|
+
tr:
|
2
|
+
apipie:
|
3
|
+
resources: Kaynaklar
|
4
|
+
resource: Kaynak
|
5
|
+
description: Açıklama
|
6
|
+
no_docs_found: Hiçbir belge bulunamadı
|
7
|
+
no_docs_found_descr: API'niz için hiçbir belge bulunamadı.
|
8
|
+
follow_instructions_html: Controller açıklaması belgeleri için %{href} yolunu izleyin.
|
9
|
+
follow_instructions_href: daha fazla talimatlar
|
10
|
+
oops: Üzgünüz!!
|
11
|
+
resource_not_found_html: Kaynak %{resource} bulunamadı.
|
12
|
+
method_not_found_html: "%{resource} kaynağının %{method} yöntemi bulunamadı."
|
13
|
+
goto_homepage_html: "%{href} adresini deneyin"
|
14
|
+
goto_homepage_href: "%{app_name} API belgeleri ana sayfası"
|
15
|
+
required: gerekli
|
16
|
+
optional: isteğe bağlı
|
17
|
+
nil_allowed: nil olabilir
|
18
|
+
param_name: Parametre adı
|
19
|
+
params: Parametreler
|
20
|
+
examples: Örnekler
|
21
|
+
metadata: Üst veriler
|
22
|
+
errors: Hatalar
|
23
|
+
supported_formats: Desteklenen Biçimler
|
24
|
+
enable_javascript_html: "%{comments_href} adresini görebilmek için lütfen JavaScript'i etkinleştirin."
|
25
|
+
comments_powered_by_disqus: yorumlar %{disqus} tarafından desteklenmektedir
|
26
|
+
api_documentation: API belgeleri
|
27
|
+
headers: Üst bilgiler
|
28
|
+
header_name: Üst bilgi adı
|
@@ -0,0 +1,28 @@
|
|
1
|
+
'zh-CN':
|
2
|
+
apipie:
|
3
|
+
resources: 资源
|
4
|
+
resource: 资源
|
5
|
+
description: 描述
|
6
|
+
no_docs_found: 没有找到文档
|
7
|
+
no_docs_found_descr: 没有找到文档。
|
8
|
+
follow_instructions_html: 点击 %{href} 查看描述。
|
9
|
+
follow_instructions_href: 高级指导
|
10
|
+
oops: Oops!!
|
11
|
+
resource_not_found_html: 没有找到资源 %{resource} 。
|
12
|
+
method_not_found_html: 没有找到资源 %{resource} 的方法 %{method} 。
|
13
|
+
goto_homepage_html: 试图访问 %{href}
|
14
|
+
goto_homepage_href: "%{app_name} API 文档主页"
|
15
|
+
required: 必填
|
16
|
+
optional: 选填
|
17
|
+
nil_allowed: 允许空值
|
18
|
+
param_name: 参数名字
|
19
|
+
params: 参数
|
20
|
+
examples: 示例
|
21
|
+
metadata: 元数据
|
22
|
+
errors: 错误
|
23
|
+
supported_formats: 支持格式
|
24
|
+
enable_javascript_html: 浏览 %{comments_href}前请允许执行 JavaScript 。
|
25
|
+
comments_powered_by_disqus: 评论技术支持 %{disqus}
|
26
|
+
api_documentation: API 文档
|
27
|
+
headers: 头部
|
28
|
+
header_name: 头部名字
|