swag-url-shortener/spec/definitions/ShortenedUrl.yaml

19 lines
257 B
YAML

type: object
required:
- id
- shortenedUrl
- sourceUrl
- expiresAt
properties:
id:
type: string
shortenedUrl:
type: string
format: uri
sourceUrl:
type: string
format: uri
expiresAt:
type: string
format: date-time