Skip to content

Commit c9fffac

Browse files
Add back read attrs to baselines
1 parent 1e4f9c1 commit c9fffac

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

packages/plugins/openapi/tests/baseline/rest-3.0.0.baseline.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2764,8 +2764,11 @@ components:
27642764
image:
27652765
type: string
27662766
nullable: true
2767+
userId:
2768+
type: string
27672769
required:
27682770
- image
2771+
- userId
27692772
relationships:
27702773
type: object
27712774
properties:
@@ -2908,6 +2911,9 @@ components:
29082911
format: date-time
29092912
title:
29102913
type: string
2914+
authorId:
2915+
type: string
2916+
nullable: true
29112917
published:
29122918
type: boolean
29132919
viewCount:
@@ -2919,6 +2925,7 @@ components:
29192925
- createdAt
29202926
- updatedAt
29212927
- title
2928+
- authorId
29222929
- published
29232930
- viewCount
29242931
- notes
@@ -3089,6 +3096,16 @@ components:
30893096
type: string
30903097
type:
30913098
type: string
3099+
attributes:
3100+
type: object
3101+
properties:
3102+
postId:
3103+
type: string
3104+
userId:
3105+
type: string
3106+
required:
3107+
- postId
3108+
- userId
30923109
relationships:
30933110
type: object
30943111
properties:

packages/plugins/openapi/tests/baseline/rest-3.1.0.baseline.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2770,8 +2770,11 @@ components:
27702770
oneOf:
27712771
- type: 'null'
27722772
- type: string
2773+
userId:
2774+
type: string
27732775
required:
27742776
- image
2777+
- userId
27752778
relationships:
27762779
type: object
27772780
properties:
@@ -2916,6 +2919,10 @@ components:
29162919
format: date-time
29172920
title:
29182921
type: string
2922+
authorId:
2923+
oneOf:
2924+
- type: 'null'
2925+
- type: string
29192926
published:
29202927
type: boolean
29212928
viewCount:
@@ -2928,6 +2935,7 @@ components:
29282935
- createdAt
29292936
- updatedAt
29302937
- title
2938+
- authorId
29312939
- published
29322940
- viewCount
29332941
- notes
@@ -3100,6 +3108,16 @@ components:
31003108
type: string
31013109
type:
31023110
type: string
3111+
attributes:
3112+
type: object
3113+
properties:
3114+
postId:
3115+
type: string
3116+
userId:
3117+
type: string
3118+
required:
3119+
- postId
3120+
- userId
31033121
relationships:
31043122
type: object
31053123
properties:

0 commit comments

Comments
 (0)