-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Given the following schema:
"schemas": {
"objectId": {
"type": "string",
"pattern": "^[0-9a-fA-F]{24}$",
"description": "MongoDB ObjectId string (24-character hex)"
},
"someType": {
"allOf": [
{ "$ref": "#/components/schemas/objectId" }
],
"description": "REDACTED",
"nullable": true
}
}We get the error
warning openapi-3/invalid-schema: Property pattern is not allowed.
6198 “pattern”: “^[0-9a-fA-F]{24}$“,
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Todo