Skip to content

Commit

Permalink
Dont point outside
Browse files Browse the repository at this point in the history
  • Loading branch information
vmcj committed Jun 21, 2022
1 parent a053493 commit 38274bb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion webapp/config/packages/nelmio_api_doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ nelmio_api_doc:
description: The ID of the entity
required: true
schema:
$ref: "#/components/schemas/Id"
type: string
pattern: "^[A-Za-z0-9]{1,255}$"
maxLength: 255
Expand All @@ -75,7 +76,7 @@ nelmio_api_doc:
schema:
type: array
items:
$ref: "#/components/parameters/id"
$ref: "#/components/schemas/Id"
strict:
name: strict
in: query
Expand Down Expand Up @@ -103,6 +104,10 @@ nelmio_api_doc:
schema:
type: string
schemas:
Id:
type: string
pattern: "^[A-Za-z0-9]{1,255}$"
maxLength: 255
ImageList:
type: array
items:
Expand Down

0 comments on commit 38274bb

Please sign in to comment.