1
Fork 0
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:
ふぁ 2023-07-30 19:43:04 +09:00
parent 0a7f111236
commit cee095e948
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
8 changed files with 157 additions and 32 deletions

View file

@ -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]+$"