@@ -170,6 +170,10 @@ paths:
170170 required : true
171171 schema :
172172 type : string
173+ minLength : 1
174+ maxLength : 128
175+ pattern : ' ^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
176+
173177 tags :
174178 - Program management
175179 responses :
@@ -184,6 +188,9 @@ paths:
184188 required : true
185189 schema :
186190 type : string
191+ minLength : 1
192+ maxLength : 128
193+ pattern : ' ^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
187194 responses :
188195 200 :
189196 description : " ok"
@@ -200,6 +207,9 @@ paths:
200207 required : true
201208 schema :
202209 type : string
210+ minLength : 1
211+ maxLength : 128
212+ pattern : ' ^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
203213 requestBody :
204214 description : Program object
205215 required : true
@@ -225,6 +235,9 @@ paths:
225235 required : true
226236 schema :
227237 type : string
238+ minLength : 1
239+ maxLength : 128
240+ pattern : ' ^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
228241 requestBody :
229242 description : Program object
230243 required : true
@@ -248,6 +261,9 @@ paths:
248261 required : true
249262 schema :
250263 type : string
264+ minLength : 1
265+ maxLength : 128
266+ pattern : ' ^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
251267 responses :
252268 200 :
253269 description : " ok"
@@ -264,6 +280,9 @@ paths:
264280 required : true
265281 schema :
266282 type : string
283+ minLength : 1
284+ maxLength : 128
285+ pattern : ' ^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
267286 responses :
268287 200 :
269288 description : " ok"
@@ -304,6 +323,9 @@ paths:
304323 required : true
305324 schema :
306325 type : string
326+ minLength : 1
327+ maxLength : 128
328+ pattern : ' ^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
307329 - name : default
308330 in : query
309331 schema :
@@ -323,6 +345,9 @@ paths:
323345 required : true
324346 schema :
325347 type : string
348+ minLength : 1
349+ maxLength : 128
350+ pattern : ' ^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
326351 requestBody :
327352 description : Update Activity
328353 required : true
@@ -346,6 +371,9 @@ paths:
346371 required : true
347372 schema :
348373 type : string
374+ minLength : 1
375+ maxLength : 128
376+ pattern : ' ^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
349377 responses :
350378 200 :
351379 description : " ok"
@@ -386,6 +414,9 @@ paths:
386414 required : true
387415 schema :
388416 type : string
417+ minLength : 1
418+ maxLength : 128
419+ pattern : ' ^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
389420 tags :
390421 - Music extensions
391422 responses :
@@ -586,6 +617,9 @@ paths:
586617 required : true
587618 schema :
588619 type : string
620+ minLength : 1
621+ maxLength : 128
622+ pattern : ' ^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
589623 tags :
590624 - CNN Models
591625 responses :
@@ -600,6 +634,9 @@ paths:
600634 required : true
601635 schema :
602636 type : string
637+ minLength : 1
638+ maxLength : 128
639+ pattern : ' ^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
603640 tags :
604641 - CNN Models
605642 responses :
@@ -686,9 +723,9 @@ components:
686723 properties :
687724 name :
688725 type : string
689- pattern : ' ^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
690726 minLength : 1
691727 maxLength : 128
728+ pattern : ' ^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
692729 code :
693730 type : string
694731 minLength : 1
@@ -709,6 +746,7 @@ components:
709746 type : string
710747 minLength : 1
711748 maxLength : 128
749+ pattern : ' ^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
712750 description :
713751 type : string
714752 minLength : 0
0 commit comments