Skip to content

Commit 48e7bc1

Browse files
committed
updated versions
1 parent ee1698e commit 48e7bc1

File tree

5 files changed

+63
-3
lines changed

5 files changed

+63
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The OpenAPI Specification has undergone 4 revisions since initial creation in 20
2424

2525
Swagger UI Version | Release Date | OpenAPI Spec compatibility | Notes | Status
2626
------------------ | ------------ | -------------------------- | ----- | ------
27-
2.2.1 | 2016-08-23 | 1.1, 1.2, 2.0 | [tag v.2.2.1](https://github.com/swagger-api/swagger-ui/tree/v2.2.0) |
27+
2.2.2 | 2016-08-23 | 1.1, 1.2, 2.0 | [tag v.2.2.2](https://github.com/swagger-api/swagger-ui/tree/v2.2.2) |
2828
2.1.5 | 2016-07-20 | 1.1, 1.2, 2.0 | [tag v.2.1.5](https://github.com/swagger-api/swagger-ui/tree/v2.1.5) |
2929
2.0.24 | 2014-09-12 | 1.1, 1.2 | [tag v2.0.24](https://github.com/swagger-api/swagger-ui/tree/v2.0.24) |
3030
1.0.13 | 2013-03-08 | 1.1, 1.2 | [tag v1.0.13](https://github.com/swagger-api/swagger-ui/tree/v1.0.13) |

dist/lang/ca.js

+53
Original file line numberDiff line numberDiff line change
@@ -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+
});

dist/swagger-ui.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* swagger-ui - Swagger UI is a dependency-free collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API
3-
* @version v2.2.1
3+
* @version v2.2.2
44
* @link http://swagger.io
55
* @license Apache-2.0
66
*/

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
}
99
],
1010
"description": "Swagger UI is a dependency-free collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API",
11-
"version": "2.2.1",
11+
"version": "2.2.2",
1212
"homepage": "http://swagger.io",
1313
"license": "Apache-2.0",
1414
"main": "dist/swagger-ui.js",

test/specs/v2/formats.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ paths:
2727
- <script language="javascript">alert('8')</script>
2828
tags:
2929
- Admin tasks<script language="javascript">alert('9')</script>
30+
parameters:
31+
- in: query
32+
name: foo
33+
type: string
34+
- in: query
35+
name: reg
36+
type: string
3037
responses:
3138
200:
3239
description: nothing<script language="javascript">alert('10')</script>

0 commit comments

Comments
 (0)