Skip to content

Commit

Permalink
pattern in name openapi def
Browse files Browse the repository at this point in the history
  • Loading branch information
previ committed Mar 31, 2024
1 parent 714f2ae commit a6da5f0
Showing 1 changed file with 39 additions and 1 deletion.
40 changes: 39 additions & 1 deletion coderbot/v1.yml
Expand Up @@ -170,6 +170,10 @@ paths:
required: true
schema:
type: string
minLength: 1
maxLength: 128
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'

tags:
- Program management
responses:
Expand All @@ -184,6 +188,9 @@ paths:
required: true
schema:
type: string
minLength: 1
maxLength: 128
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
responses:
200:
description: "ok"
Expand All @@ -200,6 +207,9 @@ paths:
required: true
schema:
type: string
minLength: 1
maxLength: 128
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
requestBody:
description: Program object
required: true
Expand All @@ -225,6 +235,9 @@ paths:
required: true
schema:
type: string
minLength: 1
maxLength: 128
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
requestBody:
description: Program object
required: true
Expand All @@ -248,6 +261,9 @@ paths:
required: true
schema:
type: string
minLength: 1
maxLength: 128
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
responses:
200:
description: "ok"
Expand All @@ -264,6 +280,9 @@ paths:
required: true
schema:
type: string
minLength: 1
maxLength: 128
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
responses:
200:
description: "ok"
Expand Down Expand Up @@ -304,6 +323,9 @@ paths:
required: true
schema:
type: string
minLength: 1
maxLength: 128
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
- name: default
in: query
schema:
Expand All @@ -323,6 +345,9 @@ paths:
required: true
schema:
type: string
minLength: 1
maxLength: 128
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
requestBody:
description: Update Activity
required: true
Expand All @@ -346,6 +371,9 @@ paths:
required: true
schema:
type: string
minLength: 1
maxLength: 128
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
responses:
200:
description: "ok"
Expand Down Expand Up @@ -386,6 +414,9 @@ paths:
required: true
schema:
type: string
minLength: 1
maxLength: 128
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
tags:
- Music extensions
responses:
Expand Down Expand Up @@ -586,6 +617,9 @@ paths:
required: true
schema:
type: string
minLength: 1
maxLength: 128
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
tags:
- CNN Models
responses:
Expand All @@ -600,6 +634,9 @@ paths:
required: true
schema:
type: string
minLength: 1
maxLength: 128
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
tags:
- CNN Models
responses:
Expand Down Expand Up @@ -686,9 +723,9 @@ components:
properties:
name:
type: string
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
minLength: 1
maxLength: 128
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
code:
type: string
minLength: 1
Expand All @@ -709,6 +746,7 @@ components:
type: string
minLength: 1
maxLength: 128
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
description:
type: string
minLength: 0
Expand Down

0 comments on commit a6da5f0

Please sign in to comment.