mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 23:50:26 +01:00
fix #22, update additionalProperties
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
0a7f111236
commit
cee095e948
8 changed files with 157 additions and 32 deletions
|
|
@ -125,11 +125,14 @@ components:
|
|||
entities:
|
||||
type: array
|
||||
items:
|
||||
type: object # todo
|
||||
type: object
|
||||
additionalProperties: true # todo
|
||||
iconDisplayInfo:
|
||||
type: object # todo
|
||||
type: object
|
||||
additionalProperties: true # todo
|
||||
colorConfig:
|
||||
type: object # todo
|
||||
type: object
|
||||
additionalProperties: true # todo
|
||||
displayLocation:
|
||||
type: string
|
||||
enum: [Top] # which else?
|
||||
|
|
@ -155,7 +158,7 @@ components:
|
|||
$ref: "./content.yaml#/components/schemas/ContentUnion"
|
||||
entryId:
|
||||
type: string
|
||||
# pattern: '^[a-z\-]+[0-9]+$'
|
||||
pattern: "^(([a-z]+|[0-9]+|[0-9a-f]+)(-|$))+"
|
||||
sortIndex:
|
||||
type: string
|
||||
pattern: "[0-9]+$"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue