1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 15:40:26 +01:00

add schema for Url

This commit is contained in:
Abdullah Atta 2023-06-12 22:53:59 +05:00
parent f9abea2fd3
commit 6c81ef158e

View file

@ -200,7 +200,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: