-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathswagger.json
110 lines (110 loc) · 3.04 KB
/
swagger.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"swagger": "2.0",
"info": {
"description": "Transliterate español (spanish) spelling to andaluz proposals using andalu-py. Further info: https://github.com/andalugeeks/andaluh-py",
"version": "0.2.1",
"title": "Andaluh API",
"termsOfService": "https://andaluh.es/terms/",
"contact": {
"email": "[email protected]"
},
"license": {
"name": "Affero GPL v3.0",
"url": "https://www.gnu.org/licenses/agpl-3.0.en.html"
}
},
"host": "api.andaluh.es",
"basePath": "/",
"tags": [
{
"name": "transliteration",
"description": "Spanish text to transliterate to andaluz proposals"
}
],
"schemes": [
"https"
],
"paths": {
"/epa": {
"get": {
"tags": [
"transliteration"
],
"summary": "Transliterates spanish text to andaluh EPA",
"operationId": "getInventory",
"produces": [
"application/json"
],
"parameters": [
{
"name": "spanish",
"in": "query",
"description": "Spanish text to transliterate",
"required": false,
"default": "Toda comunidad lingüística tiene derecho a codificar, estandarizar, preservar, desarrollar y promover su sistema lingüístico, sin interferencias inducidas o forzadas.\" Art. 9 de la Declaración Universal de los Derechos Lingüísticos",
"type": "string"
},
{
"name": "vaf",
"in": "query",
"description": "Voiceless alveolar fricative /s/: Use it to enforce seseo (assign \"s\"), zezeo (assign \"z\") or heheo (assign \"h\") instead of cedilla.",
"required": false,
"default": "ç",
"type": "string"
},
{
"name": "vvf",
"in": "query",
"description": "Voiceless velar fricative /x/: Use it to keep /x/ sounds as J instead of /h/ by assigning \"j\"",
"required": false,
"default": "h",
"type": "string"
},
{
"name": "escapeLinks",
"in": "query",
"description": "Ignore URLs, mentions and hashtags on the transliteration",
"required": false,
"default": false,
"type": "boolean"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"$ref": "#/definitions/Transliteration"
}
}
}
}
}
},
"definitions": {
"Transliteration": {
"type": "object",
"properties": {
"spanish": {
"type": "string"
},
"andaluh": {
"type": "string"
},
"rules": {
"type": "object",
"properties": {
"vaf": {
"type": "string"
},
"vvf": {
"type": "string"
},
"escapeLinks": {
"type": "boolean"
}
}
}
}
}
}
}