Skip to content

Commit

Permalink
Change date format in swagger documentation
Browse files Browse the repository at this point in the history
The OpenAPI date type (https://swagger.io/docs/specification/data-models/data-types/) follows the RFC3339 standard, thus the day must be after the month (https://www.rfc-editor.org/rfc/rfc3339#section-5.6)
  • Loading branch information
MDeLuise authored and Coduz committed Sep 15, 2022
1 parent ee4b1ab commit 7bbab10
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Expand Up @@ -55,7 +55,7 @@ paths:
type: account
optlock: 2
name: acme-inc
expirationDate: '2019-31-12T00:00:00.000Z'
expirationDate: '2019-12-31T00:00:00.000Z'
organization:
addressLine1: 123 Looney Tunes Drive
addressLine2: Block 1
Expand Down
Expand Up @@ -91,7 +91,7 @@ components:
modifiedBy: AQ
optlock: 2
name: acme-inc
expirationDate: '2019-31-12T00:00:00.000Z'
expirationDate: '2019-12-31T00:00:00.000Z'
organization:
addressLine1: 123 Looney Tunes Drive
addressLine2: Block 1
Expand Down Expand Up @@ -165,7 +165,7 @@ components:
organizationCountry: United States
organizationPersonName: Wile Ethelbert Coyote
organizationPhoneNumber: +1 (555) 123 4567
expirationDate: '2019-31-12T00:00:00.000Z'
expirationDate: '2019-12-31T00:00:00.000Z'
accountListResult:
allOf:
- $ref: '../openapi.yaml#/components/schemas/kapuaListResult'
Expand Down
Expand Up @@ -151,7 +151,7 @@ components:
email: donald.duck@duckburg.org
phoneNumber: '+1 (555) 816 1851'
userType: INTERNAL
expirationDate: '2019-31-12T00:00:00.000Z'
expirationDate: '2019-12-31T00:00:00.000Z'
mfaOption:
value:
type: mfaOption
Expand Down

0 comments on commit 7bbab10

Please sign in to comment.