Skip to content

Commit

Permalink
#26 add proposition for Year type
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdbosch committed Apr 23, 2020
1 parent 6a1b74a commit 2ec51db
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/main/asciidoc/schemas/time/v1beta/time-v1beta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
swagger: "2.0"
info:
title: data types related to time
version: v1beta
paths: {}
definitions:
Year:
description: A year in the Gregorian Calendar
type: string
pattern: '^[0-9]{4}$'
example: '2020'

0 comments on commit 2ec51db

Please sign in to comment.