1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 07:30:37 +01:00

Merge pull request #7 from thecodrr/feature/add-schema-for-url

Add schema for Url
This commit is contained in:
ふぁ 2023-06-13 09:45:58 +09:00 committed by GitHub
commit b3298f156b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -238,7 +238,25 @@ components:
UserMention:
type: object # todo
Url:
type: object # todo
type: object
required:
- "url"
- "indices"
- "expanded_url"
- "display_url"
properties:
display_url:
type: string
expanded_url:
type: string
format: uri
url:
type: string
format: uri
indices:
type: array
items:
type: integer
ExtendedEntities:
required: