Skip to content

Commit ca63e00

Browse files
committed
Fix error $ref cannot be placed next to any other properties
Fix error $ref cannot be placed next to any other properties See OAI/OpenAPI-Specification#556 (comment)
1 parent 4a6090d commit ca63e00

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

content/v2/openapi.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ paths:
148148
'400':
149149
$ref: '#/components/responses/400'
150150
'404':
151-
description: Domain not found.
152151
$ref: '#/components/responses/404'
153152
summary: Delete a domain
154153
'/{account}/domains/{domain}/collaborators':
@@ -3565,10 +3564,8 @@ components:
35653564
description: The default subdomain used when creating DNS records
35663565
created_at:
35673566
$ref: '#/components/schemas/DatetimeISO8601'
3568-
description: When the service was first added to DNSimple
35693567
updated_at:
35703568
$ref: '#/components/schemas/DatetimeISO8601'
3571-
description: When the service was last changed in DNSimple
35723569
settings:
35733570
type: array
35743571
items:
@@ -3993,11 +3990,13 @@ components:
39933990
- $ref: '#/components/schemas/EventZoneDelete'
39943991
description: The data attribute contains any data for the object or objects related to the event. Each object in the data object will be keyed on an object type name.
39953992
account:
3996-
$ref: '#/components/schemas/Account'
39973993
description: 'The account is an object describing which account the event occurred in. It is a lightweight representation of the account and includes the id, a unique identifier and a display text representation.'
3994+
allOf:
3995+
- $ref: '#/components/schemas/Account'
39983996
actor:
3999-
$ref: '#/components/schemas/Actor'
40003997
description: 'The actor is an object describing the entity that triggered the event. This may be a user if the event was triggered due to activity via the UI or API, or it may be a system entity if the activity occurred as part of an asynchronous process. The actor object has three attributes: id, which is a unique identifier for the actor, entity which describes what type the actor is, and pretty, which is a printable representation of the actor for use in display.'
3998+
allOf:
3999+
- $ref: '#/components/schemas/Actor'
40014000
example:
40024001
name: object.action
40034002
api_version: v2

0 commit comments

Comments
 (0)