sc-oa 0.7.0.17__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sc_oa-0.7.0.17.dist-info/METADATA +35 -0
- sc_oa-0.7.0.17.dist-info/RECORD +26 -0
- sc_oa-0.7.0.17.dist-info/WHEEL +5 -0
- sc_oa-0.7.0.17.dist-info/licenses/LICENSE +23 -0
- sc_oa-0.7.0.17.dist-info/top_level.txt +1 -0
- sphinxcontrib/__init__.py +10 -0
- sphinxcontrib/openapi/__init__.py +93 -0
- sphinxcontrib/openapi/__main__.py +86 -0
- sphinxcontrib/openapi/_lib2to3.py +378 -0
- sphinxcontrib/openapi/directive.py +58 -0
- sphinxcontrib/openapi/locale/es_ES/LC_MESSAGES/openapi.mo +0 -0
- sphinxcontrib/openapi/locale/es_ES/LC_MESSAGES/openapi.po +170 -0
- sphinxcontrib/openapi/locale/fr_FR/LC_MESSAGES/openapi.mo +0 -0
- sphinxcontrib/openapi/locale/fr_FR/LC_MESSAGES/openapi.po +170 -0
- sphinxcontrib/openapi/locale/openapi.pot +168 -0
- sphinxcontrib/openapi/openapi20.py +263 -0
- sphinxcontrib/openapi/openapi30.py +750 -0
- sphinxcontrib/openapi/renderers/__init__.py +18 -0
- sphinxcontrib/openapi/renderers/_description.py +26 -0
- sphinxcontrib/openapi/renderers/_httpdomain.py +620 -0
- sphinxcontrib/openapi/renderers/_httpdomain_old.py +59 -0
- sphinxcontrib/openapi/renderers/_model.py +426 -0
- sphinxcontrib/openapi/renderers/_toc.py +48 -0
- sphinxcontrib/openapi/renderers/abc.py +46 -0
- sphinxcontrib/openapi/schema_utils.py +137 -0
- sphinxcontrib/openapi/utils.py +137 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"""
|
|
2
|
+
sphinxcontrib.openapi.directive
|
|
3
|
+
-------------------------------
|
|
4
|
+
|
|
5
|
+
The main directive for the extension.
|
|
6
|
+
|
|
7
|
+
:copyright: (c) 2016, Ihor Kalnytskyi.
|
|
8
|
+
:license: BSD, see LICENSE for details.
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
import functools
|
|
12
|
+
|
|
13
|
+
from docutils.parsers.rst import directives
|
|
14
|
+
from sphinx.util.docutils import SphinxDirective
|
|
15
|
+
import yaml
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# Locally cache spec to speedup processing of same spec file in multiple
|
|
19
|
+
# openapi directives
|
|
20
|
+
@functools.lru_cache()
|
|
21
|
+
def _get_spec(abspath, encoding):
|
|
22
|
+
with open(abspath, 'rt', encoding=encoding) as stream:
|
|
23
|
+
return yaml.safe_load(stream)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
def create_directive_from_renderer(renderer_cls):
|
|
27
|
+
"""Create rendering directive from a renderer class."""
|
|
28
|
+
|
|
29
|
+
class _RenderingDirective(SphinxDirective):
|
|
30
|
+
required_arguments = 1 # path to openapi spec
|
|
31
|
+
final_argument_whitespace = True # path may contain whitespaces
|
|
32
|
+
option_spec = dict(
|
|
33
|
+
{
|
|
34
|
+
'encoding': directives.encoding, # useful for non-ascii cases :)
|
|
35
|
+
},
|
|
36
|
+
**renderer_cls.option_spec
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
def run(self):
|
|
40
|
+
relpath, abspath = self.env.relfn2path(directives.path(self.arguments[0]))
|
|
41
|
+
|
|
42
|
+
# URI parameter is crucial for resolving relative references. So we
|
|
43
|
+
# need to set this option properly as it's used later down the
|
|
44
|
+
# stack.
|
|
45
|
+
self.options.setdefault('uri', 'file:///%s' % abspath.replace('\\', '/'))
|
|
46
|
+
|
|
47
|
+
# Add a given OpenAPI spec as a dependency of the referring
|
|
48
|
+
# reStructuredText document, so the document is rebuilt each time
|
|
49
|
+
# the spec is changed.
|
|
50
|
+
self.env.note_dependency(relpath)
|
|
51
|
+
|
|
52
|
+
# Read the spec using encoding passed to the directive or fallback to
|
|
53
|
+
# the one specified in Sphinx's config.
|
|
54
|
+
encoding = self.options.get('encoding', self.config.source_encoding)
|
|
55
|
+
spec = _get_spec(abspath, encoding)
|
|
56
|
+
return renderer_cls(self.state, self.options).render(spec)
|
|
57
|
+
|
|
58
|
+
return _RenderingDirective
|
|
Binary file
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
# Spanish translations for PROJECT.
|
|
2
|
+
# Copyright (C) 2022 ORGANIZATION
|
|
3
|
+
# This file is distributed under the same license as the PROJECT project.
|
|
4
|
+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
|
|
5
|
+
#
|
|
6
|
+
msgid ""
|
|
7
|
+
msgstr ""
|
|
8
|
+
"Project-Id-Version: PROJECT VERSION\n"
|
|
9
|
+
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
|
10
|
+
"POT-Creation-Date: 2022-04-23 02:37+0200\n"
|
|
11
|
+
"PO-Revision-Date: 2022-04-19 15:19+0200\n"
|
|
12
|
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
13
|
+
"Language: es\n"
|
|
14
|
+
"Language-Team: es <LL@li.org>\n"
|
|
15
|
+
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
|
|
16
|
+
"MIME-Version: 1.0\n"
|
|
17
|
+
"Content-Type: text/plain; charset=utf-8\n"
|
|
18
|
+
"Content-Transfer-Encoding: 8bit\n"
|
|
19
|
+
"Generated-By: Babel 2.9.1\n"
|
|
20
|
+
|
|
21
|
+
#: sphinxcontrib/openapi/openapi30.py:206
|
|
22
|
+
#: sphinxcontrib/openapi/openapi30.py:241
|
|
23
|
+
msgid "Example request"
|
|
24
|
+
msgstr "Ejemplo de solicitud"
|
|
25
|
+
|
|
26
|
+
#: sphinxcontrib/openapi/openapi30.py:237
|
|
27
|
+
msgid "Example response"
|
|
28
|
+
msgstr "Ejemplo de respuesta"
|
|
29
|
+
|
|
30
|
+
#: sphinxcontrib/openapi/openapi30.py:333
|
|
31
|
+
msgid "Scope required"
|
|
32
|
+
msgstr "Permiso"
|
|
33
|
+
|
|
34
|
+
#: sphinxcontrib/openapi/openapi30.py:344
|
|
35
|
+
msgid "Object of"
|
|
36
|
+
msgstr "Objeto de"
|
|
37
|
+
|
|
38
|
+
#: sphinxcontrib/openapi/openapi30.py:344
|
|
39
|
+
msgid "Array of"
|
|
40
|
+
msgstr "Lista de"
|
|
41
|
+
|
|
42
|
+
#: sphinxcontrib/openapi/openapi30.py:345
|
|
43
|
+
#: sphinxcontrib/openapi/renderers/_model.py:121
|
|
44
|
+
msgid "Object of type {}"
|
|
45
|
+
msgstr "Objeto de tipo {}"
|
|
46
|
+
|
|
47
|
+
#: sphinxcontrib/openapi/openapi30.py:349
|
|
48
|
+
#: sphinxcontrib/openapi/openapi30.py:359
|
|
49
|
+
#: sphinxcontrib/openapi/renderers/_model.py:190
|
|
50
|
+
msgid "Additional properties"
|
|
51
|
+
msgstr "Propiedades adicionales"
|
|
52
|
+
|
|
53
|
+
#: sphinxcontrib/openapi/openapi30.py:389
|
|
54
|
+
#: sphinxcontrib/openapi/renderers/_model.py:266
|
|
55
|
+
msgid "Required"
|
|
56
|
+
msgstr "Requerido"
|
|
57
|
+
|
|
58
|
+
#: sphinxcontrib/openapi/openapi30.py:408
|
|
59
|
+
msgid "Request body:"
|
|
60
|
+
msgstr "Cuerpo de la solicitud:"
|
|
61
|
+
|
|
62
|
+
#: sphinxcontrib/openapi/renderers/_model.py:31
|
|
63
|
+
msgid "minItems is {}"
|
|
64
|
+
msgstr "minItems es {}"
|
|
65
|
+
|
|
66
|
+
#: sphinxcontrib/openapi/renderers/_model.py:33
|
|
67
|
+
msgid "maxItems is {}"
|
|
68
|
+
msgstr "maxItems es {}"
|
|
69
|
+
|
|
70
|
+
#: sphinxcontrib/openapi/renderers/_model.py:35
|
|
71
|
+
msgid "minLength is {}"
|
|
72
|
+
msgstr "minLength es {}"
|
|
73
|
+
|
|
74
|
+
#: sphinxcontrib/openapi/renderers/_model.py:37
|
|
75
|
+
msgid "maxLength is {}"
|
|
76
|
+
msgstr "maxLength es {}"
|
|
77
|
+
|
|
78
|
+
#: sphinxcontrib/openapi/renderers/_model.py:39
|
|
79
|
+
msgid "minimum is {}"
|
|
80
|
+
msgstr "mínimo es {}"
|
|
81
|
+
|
|
82
|
+
#: sphinxcontrib/openapi/renderers/_model.py:41
|
|
83
|
+
msgid "maximum is {}"
|
|
84
|
+
msgstr "máximo es {}"
|
|
85
|
+
|
|
86
|
+
#: sphinxcontrib/openapi/renderers/_model.py:43
|
|
87
|
+
msgid "items must be unique"
|
|
88
|
+
msgstr "los artículos deben ser únicos"
|
|
89
|
+
|
|
90
|
+
#: sphinxcontrib/openapi/renderers/_model.py:45
|
|
91
|
+
msgid "pattern ``{}``"
|
|
92
|
+
msgstr "patrón ``{}``"
|
|
93
|
+
|
|
94
|
+
#: sphinxcontrib/openapi/renderers/_model.py:47
|
|
95
|
+
msgid "possible values are {}"
|
|
96
|
+
msgstr "los valores posibles son {}"
|
|
97
|
+
|
|
98
|
+
#: sphinxcontrib/openapi/renderers/_model.py:54
|
|
99
|
+
msgid "read only"
|
|
100
|
+
msgstr "sólo lectura"
|
|
101
|
+
|
|
102
|
+
#: sphinxcontrib/openapi/renderers/_model.py:56
|
|
103
|
+
msgid "write only"
|
|
104
|
+
msgstr "escribir solamente"
|
|
105
|
+
|
|
106
|
+
#: sphinxcontrib/openapi/renderers/_model.py:63
|
|
107
|
+
#, fuzzy
|
|
108
|
+
msgid "Constraints"
|
|
109
|
+
msgstr "Restricciones"
|
|
110
|
+
|
|
111
|
+
#: sphinxcontrib/openapi/renderers/_model.py:64
|
|
112
|
+
msgid "Constraints: {}"
|
|
113
|
+
msgstr "Restricciones: {}"
|
|
114
|
+
|
|
115
|
+
#: sphinxcontrib/openapi/renderers/_model.py:77
|
|
116
|
+
msgid "DEPRECATED"
|
|
117
|
+
msgstr "OBSOLETO"
|
|
118
|
+
|
|
119
|
+
#: sphinxcontrib/openapi/renderers/_model.py:144
|
|
120
|
+
#: sphinxcontrib/openapi/renderers/_model.py:151
|
|
121
|
+
#: sphinxcontrib/openapi/renderers/_model.py:178
|
|
122
|
+
msgid "Array of {}"
|
|
123
|
+
msgstr "Lista de {}"
|
|
124
|
+
|
|
125
|
+
#: sphinxcontrib/openapi/renderers/_model.py:156
|
|
126
|
+
msgid "Array"
|
|
127
|
+
msgstr "Lista"
|
|
128
|
+
|
|
129
|
+
#: sphinxcontrib/openapi/renderers/_model.py:197
|
|
130
|
+
#: sphinxcontrib/openapi/renderers/_model.py:214
|
|
131
|
+
msgid "One of {}"
|
|
132
|
+
msgstr "Uno de {}"
|
|
133
|
+
|
|
134
|
+
#: sphinxcontrib/openapi/renderers/_model.py:200
|
|
135
|
+
#: sphinxcontrib/openapi/renderers/_model.py:222
|
|
136
|
+
msgid "All of {}"
|
|
137
|
+
msgstr "Todo de {}"
|
|
138
|
+
|
|
139
|
+
#: sphinxcontrib/openapi/renderers/_model.py:203
|
|
140
|
+
#: sphinxcontrib/openapi/renderers/_model.py:230
|
|
141
|
+
msgid "Any of {}"
|
|
142
|
+
msgstr "Cualquiera de {}"
|
|
143
|
+
|
|
144
|
+
#: sphinxcontrib/openapi/renderers/_model.py:263
|
|
145
|
+
msgid "Attribute"
|
|
146
|
+
msgstr "Atributo"
|
|
147
|
+
|
|
148
|
+
#: sphinxcontrib/openapi/renderers/_model.py:264
|
|
149
|
+
msgid "Type"
|
|
150
|
+
msgstr "Tipo"
|
|
151
|
+
|
|
152
|
+
#: sphinxcontrib/openapi/renderers/_model.py:265
|
|
153
|
+
msgid "Description"
|
|
154
|
+
msgstr "Descripción"
|
|
155
|
+
|
|
156
|
+
#: sphinxcontrib/openapi/renderers/_model.py:272
|
|
157
|
+
msgid "N/A"
|
|
158
|
+
msgstr "N/A"
|
|
159
|
+
|
|
160
|
+
#: sphinxcontrib/openapi/renderers/_model.py:275
|
|
161
|
+
msgid "Yes"
|
|
162
|
+
msgstr "Si"
|
|
163
|
+
|
|
164
|
+
#: sphinxcontrib/openapi/renderers/_model.py:283
|
|
165
|
+
msgid "Example #{}:"
|
|
166
|
+
msgstr "Ejemplo #{}"
|
|
167
|
+
|
|
168
|
+
#: sphinxcontrib/openapi/renderers/_model.py:295
|
|
169
|
+
msgid "Invalid example"
|
|
170
|
+
msgstr "Ejemplo inválido"
|
|
Binary file
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
# French (France) translations for PROJECT.
|
|
2
|
+
# Copyright (C) 2022 ORGANIZATION
|
|
3
|
+
# This file is distributed under the same license as the PROJECT project.
|
|
4
|
+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
|
|
5
|
+
#
|
|
6
|
+
msgid ""
|
|
7
|
+
msgstr ""
|
|
8
|
+
"Project-Id-Version: PROJECT VERSION\n"
|
|
9
|
+
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
|
10
|
+
"POT-Creation-Date: 2022-04-23 02:37+0200\n"
|
|
11
|
+
"PO-Revision-Date: 2022-04-19 19:44+0200\n"
|
|
12
|
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
13
|
+
"Language: fr_FR\n"
|
|
14
|
+
"Language-Team: fr_FR <LL@li.org>\n"
|
|
15
|
+
"Plural-Forms: nplurals=2; plural=(n > 1)\n"
|
|
16
|
+
"MIME-Version: 1.0\n"
|
|
17
|
+
"Content-Type: text/plain; charset=utf-8\n"
|
|
18
|
+
"Content-Transfer-Encoding: 8bit\n"
|
|
19
|
+
"Generated-By: Babel 2.9.1\n"
|
|
20
|
+
|
|
21
|
+
#: sphinxcontrib/openapi/openapi30.py:206
|
|
22
|
+
#: sphinxcontrib/openapi/openapi30.py:241
|
|
23
|
+
msgid "Example request"
|
|
24
|
+
msgstr "Exemple de requête"
|
|
25
|
+
|
|
26
|
+
#: sphinxcontrib/openapi/openapi30.py:237
|
|
27
|
+
msgid "Example response"
|
|
28
|
+
msgstr "Exemple de réponse"
|
|
29
|
+
|
|
30
|
+
#: sphinxcontrib/openapi/openapi30.py:333
|
|
31
|
+
msgid "Scope required"
|
|
32
|
+
msgstr "Droit nécessaire"
|
|
33
|
+
|
|
34
|
+
#: sphinxcontrib/openapi/openapi30.py:344
|
|
35
|
+
msgid "Object of"
|
|
36
|
+
msgstr "Objet de"
|
|
37
|
+
|
|
38
|
+
#: sphinxcontrib/openapi/openapi30.py:344
|
|
39
|
+
msgid "Array of"
|
|
40
|
+
msgstr "Tableau de"
|
|
41
|
+
|
|
42
|
+
#: sphinxcontrib/openapi/openapi30.py:345
|
|
43
|
+
#: sphinxcontrib/openapi/renderers/_model.py:121
|
|
44
|
+
msgid "Object of type {}"
|
|
45
|
+
msgstr "Objet de type {}"
|
|
46
|
+
|
|
47
|
+
#: sphinxcontrib/openapi/openapi30.py:349
|
|
48
|
+
#: sphinxcontrib/openapi/openapi30.py:359
|
|
49
|
+
#: sphinxcontrib/openapi/renderers/_model.py:190
|
|
50
|
+
msgid "Additional properties"
|
|
51
|
+
msgstr "Propriétés additionnelles"
|
|
52
|
+
|
|
53
|
+
#: sphinxcontrib/openapi/openapi30.py:389
|
|
54
|
+
#: sphinxcontrib/openapi/renderers/_model.py:266
|
|
55
|
+
msgid "Required"
|
|
56
|
+
msgstr "Requis"
|
|
57
|
+
|
|
58
|
+
#: sphinxcontrib/openapi/openapi30.py:408
|
|
59
|
+
msgid "Request body:"
|
|
60
|
+
msgstr "Corps de la requête:"
|
|
61
|
+
|
|
62
|
+
#: sphinxcontrib/openapi/renderers/_model.py:31
|
|
63
|
+
msgid "minItems is {}"
|
|
64
|
+
msgstr "minItems est {}"
|
|
65
|
+
|
|
66
|
+
#: sphinxcontrib/openapi/renderers/_model.py:33
|
|
67
|
+
msgid "maxItems is {}"
|
|
68
|
+
msgstr "maxItems est {}"
|
|
69
|
+
|
|
70
|
+
#: sphinxcontrib/openapi/renderers/_model.py:35
|
|
71
|
+
msgid "minLength is {}"
|
|
72
|
+
msgstr "minLength est {}"
|
|
73
|
+
|
|
74
|
+
#: sphinxcontrib/openapi/renderers/_model.py:37
|
|
75
|
+
msgid "maxLength is {}"
|
|
76
|
+
msgstr "maxLength est {}"
|
|
77
|
+
|
|
78
|
+
#: sphinxcontrib/openapi/renderers/_model.py:39
|
|
79
|
+
msgid "minimum is {}"
|
|
80
|
+
msgstr "minimum est {}"
|
|
81
|
+
|
|
82
|
+
#: sphinxcontrib/openapi/renderers/_model.py:41
|
|
83
|
+
msgid "maximum is {}"
|
|
84
|
+
msgstr "maximum est {}"
|
|
85
|
+
|
|
86
|
+
#: sphinxcontrib/openapi/renderers/_model.py:43
|
|
87
|
+
msgid "items must be unique"
|
|
88
|
+
msgstr "les éléments doivent être uniques"
|
|
89
|
+
|
|
90
|
+
#: sphinxcontrib/openapi/renderers/_model.py:45
|
|
91
|
+
msgid "pattern ``{}``"
|
|
92
|
+
msgstr "modèle {}"
|
|
93
|
+
|
|
94
|
+
#: sphinxcontrib/openapi/renderers/_model.py:47
|
|
95
|
+
msgid "possible values are {}"
|
|
96
|
+
msgstr "les valeurs possibles sont {}"
|
|
97
|
+
|
|
98
|
+
#: sphinxcontrib/openapi/renderers/_model.py:54
|
|
99
|
+
msgid "read only"
|
|
100
|
+
msgstr "lecture seule"
|
|
101
|
+
|
|
102
|
+
#: sphinxcontrib/openapi/renderers/_model.py:56
|
|
103
|
+
msgid "write only"
|
|
104
|
+
msgstr "écriture seule"
|
|
105
|
+
|
|
106
|
+
#: sphinxcontrib/openapi/renderers/_model.py:63
|
|
107
|
+
#, fuzzy
|
|
108
|
+
msgid "Constraints"
|
|
109
|
+
msgstr "Contraintes"
|
|
110
|
+
|
|
111
|
+
#: sphinxcontrib/openapi/renderers/_model.py:64
|
|
112
|
+
msgid "Constraints: {}"
|
|
113
|
+
msgstr "Contraintes: {}"
|
|
114
|
+
|
|
115
|
+
#: sphinxcontrib/openapi/renderers/_model.py:77
|
|
116
|
+
msgid "DEPRECATED"
|
|
117
|
+
msgstr "OBSOLETE"
|
|
118
|
+
|
|
119
|
+
#: sphinxcontrib/openapi/renderers/_model.py:144
|
|
120
|
+
#: sphinxcontrib/openapi/renderers/_model.py:151
|
|
121
|
+
#: sphinxcontrib/openapi/renderers/_model.py:178
|
|
122
|
+
msgid "Array of {}"
|
|
123
|
+
msgstr "Tableau de {}"
|
|
124
|
+
|
|
125
|
+
#: sphinxcontrib/openapi/renderers/_model.py:156
|
|
126
|
+
msgid "Array"
|
|
127
|
+
msgstr "Tableau"
|
|
128
|
+
|
|
129
|
+
#: sphinxcontrib/openapi/renderers/_model.py:197
|
|
130
|
+
#: sphinxcontrib/openapi/renderers/_model.py:214
|
|
131
|
+
msgid "One of {}"
|
|
132
|
+
msgstr "Un parmi {}"
|
|
133
|
+
|
|
134
|
+
#: sphinxcontrib/openapi/renderers/_model.py:200
|
|
135
|
+
#: sphinxcontrib/openapi/renderers/_model.py:222
|
|
136
|
+
msgid "All of {}"
|
|
137
|
+
msgstr "Tous parmi {}"
|
|
138
|
+
|
|
139
|
+
#: sphinxcontrib/openapi/renderers/_model.py:203
|
|
140
|
+
#: sphinxcontrib/openapi/renderers/_model.py:230
|
|
141
|
+
msgid "Any of {}"
|
|
142
|
+
msgstr "N'importe lequel parmi {}"
|
|
143
|
+
|
|
144
|
+
#: sphinxcontrib/openapi/renderers/_model.py:263
|
|
145
|
+
msgid "Attribute"
|
|
146
|
+
msgstr "Attribut"
|
|
147
|
+
|
|
148
|
+
#: sphinxcontrib/openapi/renderers/_model.py:264
|
|
149
|
+
msgid "Type"
|
|
150
|
+
msgstr "Type"
|
|
151
|
+
|
|
152
|
+
#: sphinxcontrib/openapi/renderers/_model.py:265
|
|
153
|
+
msgid "Description"
|
|
154
|
+
msgstr "Description"
|
|
155
|
+
|
|
156
|
+
#: sphinxcontrib/openapi/renderers/_model.py:272
|
|
157
|
+
msgid "N/A"
|
|
158
|
+
msgstr "S.O."
|
|
159
|
+
|
|
160
|
+
#: sphinxcontrib/openapi/renderers/_model.py:275
|
|
161
|
+
msgid "Yes"
|
|
162
|
+
msgstr "Oui"
|
|
163
|
+
|
|
164
|
+
#: sphinxcontrib/openapi/renderers/_model.py:283
|
|
165
|
+
msgid "Example #{}:"
|
|
166
|
+
msgstr "Exemple n°{}"
|
|
167
|
+
|
|
168
|
+
#: sphinxcontrib/openapi/renderers/_model.py:295
|
|
169
|
+
msgid "Invalid example"
|
|
170
|
+
msgstr "Exemple non valide"
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
# Translations template for PROJECT.
|
|
2
|
+
# Copyright (C) 2022 ORGANIZATION
|
|
3
|
+
# This file is distributed under the same license as the PROJECT project.
|
|
4
|
+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
|
|
5
|
+
#
|
|
6
|
+
#, fuzzy
|
|
7
|
+
msgid ""
|
|
8
|
+
msgstr ""
|
|
9
|
+
"Project-Id-Version: PROJECT VERSION\n"
|
|
10
|
+
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
|
11
|
+
"POT-Creation-Date: 2022-04-23 02:37+0200\n"
|
|
12
|
+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
13
|
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
14
|
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
15
|
+
"MIME-Version: 1.0\n"
|
|
16
|
+
"Content-Type: text/plain; charset=utf-8\n"
|
|
17
|
+
"Content-Transfer-Encoding: 8bit\n"
|
|
18
|
+
"Generated-By: Babel 2.9.1\n"
|
|
19
|
+
|
|
20
|
+
#: sphinxcontrib/openapi/openapi30.py:206
|
|
21
|
+
#: sphinxcontrib/openapi/openapi30.py:241
|
|
22
|
+
msgid "Example request"
|
|
23
|
+
msgstr ""
|
|
24
|
+
|
|
25
|
+
#: sphinxcontrib/openapi/openapi30.py:237
|
|
26
|
+
msgid "Example response"
|
|
27
|
+
msgstr ""
|
|
28
|
+
|
|
29
|
+
#: sphinxcontrib/openapi/openapi30.py:333
|
|
30
|
+
msgid "Scope required"
|
|
31
|
+
msgstr ""
|
|
32
|
+
|
|
33
|
+
#: sphinxcontrib/openapi/openapi30.py:344
|
|
34
|
+
msgid "Object of"
|
|
35
|
+
msgstr ""
|
|
36
|
+
|
|
37
|
+
#: sphinxcontrib/openapi/openapi30.py:344
|
|
38
|
+
msgid "Array of"
|
|
39
|
+
msgstr ""
|
|
40
|
+
|
|
41
|
+
#: sphinxcontrib/openapi/openapi30.py:345
|
|
42
|
+
#: sphinxcontrib/openapi/renderers/_model.py:121
|
|
43
|
+
msgid "Object of type {}"
|
|
44
|
+
msgstr ""
|
|
45
|
+
|
|
46
|
+
#: sphinxcontrib/openapi/openapi30.py:349
|
|
47
|
+
#: sphinxcontrib/openapi/openapi30.py:359
|
|
48
|
+
#: sphinxcontrib/openapi/renderers/_model.py:190
|
|
49
|
+
msgid "Additional properties"
|
|
50
|
+
msgstr ""
|
|
51
|
+
|
|
52
|
+
#: sphinxcontrib/openapi/openapi30.py:389
|
|
53
|
+
#: sphinxcontrib/openapi/renderers/_model.py:266
|
|
54
|
+
msgid "Required"
|
|
55
|
+
msgstr ""
|
|
56
|
+
|
|
57
|
+
#: sphinxcontrib/openapi/openapi30.py:408
|
|
58
|
+
msgid "Request body:"
|
|
59
|
+
msgstr ""
|
|
60
|
+
|
|
61
|
+
#: sphinxcontrib/openapi/renderers/_model.py:31
|
|
62
|
+
msgid "minItems is {}"
|
|
63
|
+
msgstr ""
|
|
64
|
+
|
|
65
|
+
#: sphinxcontrib/openapi/renderers/_model.py:33
|
|
66
|
+
msgid "maxItems is {}"
|
|
67
|
+
msgstr ""
|
|
68
|
+
|
|
69
|
+
#: sphinxcontrib/openapi/renderers/_model.py:35
|
|
70
|
+
msgid "minLength is {}"
|
|
71
|
+
msgstr ""
|
|
72
|
+
|
|
73
|
+
#: sphinxcontrib/openapi/renderers/_model.py:37
|
|
74
|
+
msgid "maxLength is {}"
|
|
75
|
+
msgstr ""
|
|
76
|
+
|
|
77
|
+
#: sphinxcontrib/openapi/renderers/_model.py:39
|
|
78
|
+
msgid "minimum is {}"
|
|
79
|
+
msgstr ""
|
|
80
|
+
|
|
81
|
+
#: sphinxcontrib/openapi/renderers/_model.py:41
|
|
82
|
+
msgid "maximum is {}"
|
|
83
|
+
msgstr ""
|
|
84
|
+
|
|
85
|
+
#: sphinxcontrib/openapi/renderers/_model.py:43
|
|
86
|
+
msgid "items must be unique"
|
|
87
|
+
msgstr ""
|
|
88
|
+
|
|
89
|
+
#: sphinxcontrib/openapi/renderers/_model.py:45
|
|
90
|
+
msgid "pattern ``{}``"
|
|
91
|
+
msgstr ""
|
|
92
|
+
|
|
93
|
+
#: sphinxcontrib/openapi/renderers/_model.py:47
|
|
94
|
+
msgid "possible values are {}"
|
|
95
|
+
msgstr ""
|
|
96
|
+
|
|
97
|
+
#: sphinxcontrib/openapi/renderers/_model.py:54
|
|
98
|
+
msgid "read only"
|
|
99
|
+
msgstr ""
|
|
100
|
+
|
|
101
|
+
#: sphinxcontrib/openapi/renderers/_model.py:56
|
|
102
|
+
msgid "write only"
|
|
103
|
+
msgstr ""
|
|
104
|
+
|
|
105
|
+
#: sphinxcontrib/openapi/renderers/_model.py:63
|
|
106
|
+
msgid "Constraints"
|
|
107
|
+
msgstr ""
|
|
108
|
+
|
|
109
|
+
#: sphinxcontrib/openapi/renderers/_model.py:64
|
|
110
|
+
msgid "Constraints: {}"
|
|
111
|
+
msgstr ""
|
|
112
|
+
|
|
113
|
+
#: sphinxcontrib/openapi/renderers/_model.py:77
|
|
114
|
+
msgid "DEPRECATED"
|
|
115
|
+
msgstr ""
|
|
116
|
+
|
|
117
|
+
#: sphinxcontrib/openapi/renderers/_model.py:144
|
|
118
|
+
#: sphinxcontrib/openapi/renderers/_model.py:151
|
|
119
|
+
#: sphinxcontrib/openapi/renderers/_model.py:178
|
|
120
|
+
msgid "Array of {}"
|
|
121
|
+
msgstr ""
|
|
122
|
+
|
|
123
|
+
#: sphinxcontrib/openapi/renderers/_model.py:156
|
|
124
|
+
msgid "Array"
|
|
125
|
+
msgstr ""
|
|
126
|
+
|
|
127
|
+
#: sphinxcontrib/openapi/renderers/_model.py:197
|
|
128
|
+
#: sphinxcontrib/openapi/renderers/_model.py:214
|
|
129
|
+
msgid "One of {}"
|
|
130
|
+
msgstr ""
|
|
131
|
+
|
|
132
|
+
#: sphinxcontrib/openapi/renderers/_model.py:200
|
|
133
|
+
#: sphinxcontrib/openapi/renderers/_model.py:222
|
|
134
|
+
msgid "All of {}"
|
|
135
|
+
msgstr ""
|
|
136
|
+
|
|
137
|
+
#: sphinxcontrib/openapi/renderers/_model.py:203
|
|
138
|
+
#: sphinxcontrib/openapi/renderers/_model.py:230
|
|
139
|
+
msgid "Any of {}"
|
|
140
|
+
msgstr ""
|
|
141
|
+
|
|
142
|
+
#: sphinxcontrib/openapi/renderers/_model.py:263
|
|
143
|
+
msgid "Attribute"
|
|
144
|
+
msgstr ""
|
|
145
|
+
|
|
146
|
+
#: sphinxcontrib/openapi/renderers/_model.py:264
|
|
147
|
+
msgid "Type"
|
|
148
|
+
msgstr ""
|
|
149
|
+
|
|
150
|
+
#: sphinxcontrib/openapi/renderers/_model.py:265
|
|
151
|
+
msgid "Description"
|
|
152
|
+
msgstr ""
|
|
153
|
+
|
|
154
|
+
#: sphinxcontrib/openapi/renderers/_model.py:272
|
|
155
|
+
msgid "N/A"
|
|
156
|
+
msgstr ""
|
|
157
|
+
|
|
158
|
+
#: sphinxcontrib/openapi/renderers/_model.py:275
|
|
159
|
+
msgid "Yes"
|
|
160
|
+
msgstr ""
|
|
161
|
+
|
|
162
|
+
#: sphinxcontrib/openapi/renderers/_model.py:283
|
|
163
|
+
msgid "Example #{}:"
|
|
164
|
+
msgstr ""
|
|
165
|
+
|
|
166
|
+
#: sphinxcontrib/openapi/renderers/_model.py:295
|
|
167
|
+
msgid "Invalid example"
|
|
168
|
+
msgstr ""
|