Skip to content
Closed
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-03-17 21:06:19.299453",
"spec_repo_commit": "2dfddc18"
"regenerated": "2025-03-18 18:57:52.345907",
"spec_repo_commit": "8b9cffb1"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-03-17 21:06:19.314659",
"spec_repo_commit": "2dfddc18"
"regenerated": "2025-03-18 18:57:52.362686",
"spec_repo_commit": "8b9cffb1"
}
}
}
14 changes: 14 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11968,7 +11968,10 @@ components:
properties:
rawSchema:
description: Schema from user input in base64 encoding.
example: ''
type: string
required:
- rawSchema
type: object
EntityResponseIncludedRelatedEntity:
description: Included related entity.
Expand All @@ -11989,6 +11992,7 @@ components:
properties:
kind:
description: Entity kind.
example: ''
type: string
name:
description: Entity name.
Expand All @@ -11999,6 +12003,8 @@ components:
type:
description: Entity relation type to the associated entity.
type: string
required:
- kind
type: object
EntityResponseIncludedRelatedEntityMeta:
description: Included related entity meta.
Expand Down Expand Up @@ -12036,7 +12042,10 @@ components:
type: string
title:
description: Incident title.
example: ''
type: string
required:
- title
type: object
EntityResponseIncludedRelatedOncallAttributes:
description: Included related oncall attributes.
Expand All @@ -12045,7 +12054,10 @@ components:
$ref: '#/components/schemas/EntityResponseIncludedRelatedOncallEscalations'
provider:
description: Oncall provider.
example: ''
type: string
required:
- provider
type: object
EntityResponseIncludedRelatedOncallEscalationItem:
description: Oncall escalation.
Expand Down Expand Up @@ -12083,6 +12095,8 @@ components:
properties:
schema:
$ref: '#/components/schemas/EntityV3'
required:
- schema
type: object
EntityResponseMeta:
description: Entity metadata.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
Expand All @@ -25,6 +26,14 @@ public class EntityResponseIncludedRawSchemaAttributes {
public static final String JSON_PROPERTY_RAW_SCHEMA = "rawSchema";
private String rawSchema;

public EntityResponseIncludedRawSchemaAttributes() {}

@JsonCreator
public EntityResponseIncludedRawSchemaAttributes(
@JsonProperty(required = true, value = JSON_PROPERTY_RAW_SCHEMA) String rawSchema) {
this.rawSchema = rawSchema;
}

public EntityResponseIncludedRawSchemaAttributes rawSchema(String rawSchema) {
this.rawSchema = rawSchema;
return this;
Expand All @@ -35,9 +44,8 @@ public EntityResponseIncludedRawSchemaAttributes rawSchema(String rawSchema) {
*
* @return rawSchema
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_RAW_SCHEMA)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getRawSchema() {
return rawSchema;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
Expand Down Expand Up @@ -39,6 +40,14 @@ public class EntityResponseIncludedRelatedEntityAttributes {
public static final String JSON_PROPERTY_TYPE = "type";
private String type;

public EntityResponseIncludedRelatedEntityAttributes() {}

@JsonCreator
public EntityResponseIncludedRelatedEntityAttributes(
@JsonProperty(required = true, value = JSON_PROPERTY_KIND) String kind) {
this.kind = kind;
}

public EntityResponseIncludedRelatedEntityAttributes kind(String kind) {
this.kind = kind;
return this;
Expand All @@ -49,9 +58,8 @@ public EntityResponseIncludedRelatedEntityAttributes kind(String kind) {
*
* @return kind
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_KIND)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getKind() {
return kind;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
Expand Down Expand Up @@ -44,6 +45,14 @@ public class EntityResponseIncludedRelatedIncidentAttributes {
public static final String JSON_PROPERTY_TITLE = "title";
private String title;

public EntityResponseIncludedRelatedIncidentAttributes() {}

@JsonCreator
public EntityResponseIncludedRelatedIncidentAttributes(
@JsonProperty(required = true, value = JSON_PROPERTY_TITLE) String title) {
this.title = title;
}

public EntityResponseIncludedRelatedIncidentAttributes createdAt(OffsetDateTime createdAt) {
this.createdAt = createdAt;
return this;
Expand Down Expand Up @@ -138,9 +147,8 @@ public EntityResponseIncludedRelatedIncidentAttributes title(String title) {
*
* @return title
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_TITLE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getTitle() {
return title;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
Expand All @@ -33,6 +34,14 @@ public class EntityResponseIncludedRelatedOncallAttributes {
public static final String JSON_PROPERTY_PROVIDER = "provider";
private String provider;

public EntityResponseIncludedRelatedOncallAttributes() {}

@JsonCreator
public EntityResponseIncludedRelatedOncallAttributes(
@JsonProperty(required = true, value = JSON_PROPERTY_PROVIDER) String provider) {
this.provider = provider;
}

public EntityResponseIncludedRelatedOncallAttributes escalations(
List<EntityResponseIncludedRelatedOncallEscalationItem> escalations) {
this.escalations = escalations;
Expand Down Expand Up @@ -78,9 +87,8 @@ public EntityResponseIncludedRelatedOncallAttributes provider(String provider) {
*
* @return provider
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PROVIDER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getProvider() {
return provider;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
Expand All @@ -25,6 +26,15 @@ public class EntityResponseIncludedSchemaAttributes {
public static final String JSON_PROPERTY_SCHEMA = "schema";
private EntityV3 schema;

public EntityResponseIncludedSchemaAttributes() {}

@JsonCreator
public EntityResponseIncludedSchemaAttributes(
@JsonProperty(required = true, value = JSON_PROPERTY_SCHEMA) EntityV3 schema) {
this.schema = schema;
this.unparsed |= schema.unparsed;
}

public EntityResponseIncludedSchemaAttributes schema(EntityV3 schema) {
this.schema = schema;
this.unparsed |= schema.unparsed;
Expand All @@ -36,9 +46,8 @@ public EntityResponseIncludedSchemaAttributes schema(EntityV3 schema) {
*
* @return schema
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_SCHEMA)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public EntityV3 getSchema() {
return schema;
}
Expand Down