Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-02-03 19:47:09.635963",
"spec_repo_commit": "b52549d9"
"regenerated": "2025-02-04 14:10:00.992806",
"spec_repo_commit": "4fb9047a"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-02-03 19:47:09.652236",
"spec_repo_commit": "b52549d9"
"regenerated": "2025-02-04 14:10:01.007762",
"spec_repo_commit": "4fb9047a"
}
}
}
10 changes: 2 additions & 8 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10871,7 +10871,8 @@ components:
minLength: 1
type: string
owner:
$ref: '#/components/schemas/EntityV3MetadataOwner'
description: The owner of the entity, usually a team.
type: string
tags:
description: A set of custom tags.
example:
Expand Down Expand Up @@ -10940,13 +10941,6 @@ components:
- type
- url
type: object
EntityV3MetadataOwner:
additionalProperties: false
description: The owner of the entity, usually a team.
properties:
name:
description: Team name.
type: string
EntityV3Queue:
additionalProperties: false
description: Schema for queue entities.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public class EntityV3Metadata {
private String namespace;

public static final String JSON_PROPERTY_OWNER = "owner";
private EntityV3MetadataOwner owner = null;
private String owner;

public static final String JSON_PROPERTY_TAGS = "tags";
private List<String> tags = null;
Expand Down Expand Up @@ -336,9 +336,8 @@ public void setNamespace(String namespace) {
this.namespace = namespace;
}

public EntityV3Metadata owner(EntityV3MetadataOwner owner) {
public EntityV3Metadata owner(String owner) {
this.owner = owner;
this.unparsed |= owner.unparsed;
return this;
}

Expand All @@ -350,11 +349,11 @@ public EntityV3Metadata owner(EntityV3MetadataOwner owner) {
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_OWNER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public EntityV3MetadataOwner getOwner() {
public String getOwner() {
return owner;
}

public void setOwner(EntityV3MetadataOwner owner) {
public void setOwner(String owner) {
this.owner = owner;
}

Expand Down

This file was deleted.

Loading