Skip to content

Commit

Permalink
fix(editor-content-fixtures): amend OpenAPI 3.1 Petstore fixture (#4278)
Browse files Browse the repository at this point in the history
The goal is to align our OpenAPI 3.1.0 Petstore fixture
with linting rules so that the fixture doesn't
produce any linting issues.
  • Loading branch information
char0n committed Jul 17, 2023
1 parent a54403d commit e12b861
Showing 1 changed file with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -604,22 +604,22 @@ components:
id:
type: integer
format: int64
example: 10
examples: [10]
petId:
type: integer
format: int64
example: 198772
examples: [198772]
quantity:
type: integer
format: int32
example: 7
examples: [7]
shipDate:
type: string
format: date-time
status:
type: string
description: Order Status
example: approved
examples: [approved]
enum:
- placed
- approved
Expand All @@ -634,10 +634,10 @@ components:
id:
type: integer
format: int64
example: 100000
examples: [100000]
username:
type: string
example: fehguy
examples: [fehguy]
address:
type: array
xml:
Expand All @@ -652,16 +652,16 @@ components:
properties:
street:
type: string
example: 437 Lytton
examples: [437 Lytton]
city:
type: string
example: Palo Alto
examples: [Palo Alto]
state:
type: string
example: CA
examples: [CA]
zip:
type: string
example: '94301'
examples: ['94301']
xml:
name: address
Category:
Expand All @@ -670,10 +670,10 @@ components:
id:
type: integer
format: int64
example: 1
examples: [1]
name:
type: string
example: Dogs
examples: [Dogs]
xml:
name: category
User:
Expand All @@ -682,30 +682,30 @@ components:
id:
type: integer
format: int64
example: 10
examples: [10]
username:
type: string
example: theUser
examples: [theUser]
firstName:
type: string
example: John
examples: [John]
lastName:
type: string
example: James
examples: [James]
email:
type: string
example: john@email.com
examples: [john@email.com]
password:
type: string
example: '12345'
examples: ['12345']
phone:
type: string
example: '12345'
examples: ['12345']
userStatus:
type: integer
description: User Status
format: int32
example: 1
examples: [1]
xml:
name: user
Tag:
Expand All @@ -727,10 +727,10 @@ components:
id:
type: integer
format: int64
example: 10
examples: [10]
name:
type: string
example: doggie
examples: [doggie]
category:
$ref: '#/components/schemas/Category'
photoUrls:
Expand Down

0 comments on commit e12b861

Please sign in to comment.