@@ -170,6 +170,9 @@ paths:
170170 required : true
171171 schema :
172172 type : string
173+ pattern : ' ^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
174+ minLength : 1
175+ maxLength : 128
173176 tags :
174177 - Program management
175178 responses :
@@ -184,6 +187,9 @@ paths:
184187 required : true
185188 schema :
186189 type : string
190+ pattern : ' ^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
191+ minLength : 1
192+ maxLength : 128
187193 responses :
188194 200 :
189195 description : " ok"
@@ -200,6 +206,9 @@ paths:
200206 required : true
201207 schema :
202208 type : string
209+ pattern : ' ^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
210+ minLength : 1
211+ maxLength : 128
203212 requestBody :
204213 description : Program object
205214 required : true
@@ -225,6 +234,9 @@ paths:
225234 required : true
226235 schema :
227236 type : string
237+ pattern : ' ^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
238+ minLength : 1
239+ maxLength : 128
228240 requestBody :
229241 description : Program object
230242 required : true
@@ -248,6 +260,9 @@ paths:
248260 required : true
249261 schema :
250262 type : string
263+ pattern : ' ^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
264+ minLength : 1
265+ maxLength : 128
251266 responses :
252267 200 :
253268 description : " ok"
@@ -264,6 +279,9 @@ paths:
264279 required : true
265280 schema :
266281 type : string
282+ pattern : ' ^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
283+ minLength : 1
284+ maxLength : 128
267285 responses :
268286 200 :
269287 description : " ok"
@@ -304,6 +322,9 @@ paths:
304322 required : true
305323 schema :
306324 type : string
325+ pattern : ' ^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
326+ minLength : 1
327+ maxLength : 128
307328 - name : default
308329 in : query
309330 schema :
@@ -323,6 +344,9 @@ paths:
323344 required : true
324345 schema :
325346 type : string
347+ pattern : ' ^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
348+ minLength : 1
349+ maxLength : 128
326350 requestBody :
327351 description : Update Activity
328352 required : true
@@ -346,6 +370,9 @@ paths:
346370 required : true
347371 schema :
348372 type : string
373+ pattern : ' ^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
374+ minLength : 1
375+ maxLength : 128
349376 responses :
350377 200 :
351378 description : " ok"
@@ -386,6 +413,9 @@ paths:
386413 required : true
387414 schema :
388415 type : string
416+ pattern : ' ^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
417+ minLength : 1
418+ maxLength : 128
389419 tags :
390420 - Music extensions
391421 responses :
@@ -587,6 +617,9 @@ paths:
587617 required : true
588618 schema :
589619 type : string
620+ pattern : ' ^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
621+ minLength : 1
622+ maxLength : 128
590623 tags :
591624 - CNN Models
592625 responses :
@@ -601,6 +634,7 @@ paths:
601634 required : true
602635 schema :
603636 type : string
637+ pattern : ' ^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
604638 tags :
605639 - CNN Models
606640 responses :
@@ -680,6 +714,7 @@ components:
680714 properties :
681715 name :
682716 type : string
717+ pattern : ' ^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
683718 tag :
684719 type : string
685720 Program :
@@ -710,6 +745,7 @@ components:
710745 type : string
711746 minLength : 1
712747 maxLength : 128
748+ pattern : ' ^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
713749 description :
714750 type : string
715751 minLength : 0
0 commit comments