-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
We currently use an OpenAPI schema like this for TypeID:
"schema": {
"type": "string",
"pattern": "^user_[0-7][0-9a-hjkmnpq-tv-z]{25}$",
"example": "user_01jv1sm13xf02v44y3j8b66d7k",
"format": "typeid"
}
As you can see, there's no field for the prefix ("user") that can be programmatically consumed (without parsing the pattern/example).
So I'm wondering, what would the field for that be? x-typeid-prefix
?
Metadata
Metadata
Assignees
Labels
No labels