mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 15:40:26 +01:00
Merge pull request #7 from thecodrr/feature/add-schema-for-url
Add schema for Url
This commit is contained in:
commit
b3298f156b
1 changed files with 19 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue