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-05-13 09:46:58.211828",
"spec_repo_commit": "767fe63b"
"regenerated": "2025-05-13 17:47:39.254549",
"spec_repo_commit": "b673a489"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-05-13 09:46:58.227734",
"spec_repo_commit": "767fe63b"
"regenerated": "2025-05-13 17:47:39.270401",
"spec_repo_commit": "b673a489"
}
}
}
8 changes: 0 additions & 8 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10937,8 +10937,6 @@ components:
- handle
- version
- name
- description
- icon_url
type: object
DORADeploymentRequest:
description: Request to create a DORA deployment event.
Expand Down Expand Up @@ -15262,10 +15260,6 @@ components:
FullCustomFrameworkDataAttributes:
description: Full Framework Data Attributes.
properties:
description:
description: Framework Description
example: this is a security framework
type: string
handle:
description: Framework Handle
example: sec2
Expand All @@ -15291,8 +15285,6 @@ components:
- handle
- version
- name
- description
- icon_url
- requirements
type: object
GCPMetricNamespaceConfig:
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-04-24T02:49:32.262Z
2025-04-24T03:17:07.960Z

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-04-27T22:14:16.448Z
2025-05-13T17:29:58.139Z

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ class CustomFrameworkWithoutRequirements
include BaseGenericModel

# Framework Description
attr_reader :description
attr_accessor :description

# Framework Handle
attr_reader :handle

# Framework Icon URL
attr_reader :icon_url
attr_accessor :icon_url

# Framework Name
attr_reader :name
Expand Down Expand Up @@ -105,24 +105,12 @@ def initialize(attributes = {})
# @return true if the model is valid
# @!visibility private
def valid?
return false if @description.nil?
return false if @handle.nil?
return false if @icon_url.nil?
return false if @name.nil?
return false if @version.nil?
true
end

# Custom attribute writer method with validation
# @param description [Object] Object to be assigned
# @!visibility private
def description=(description)
if description.nil?
fail ArgumentError, 'invalid value for "description", description cannot be nil.'
end
@description = description
end

# Custom attribute writer method with validation
# @param handle [Object] Object to be assigned
# @!visibility private
Expand All @@ -133,16 +121,6 @@ def handle=(handle)
@handle = handle
end

# Custom attribute writer method with validation
# @param icon_url [Object] Object to be assigned
# @!visibility private
def icon_url=(icon_url)
if icon_url.nil?
fail ArgumentError, 'invalid value for "icon_url", icon_url cannot be nil.'
end
@icon_url = icon_url
end

# Custom attribute writer method with validation
# @param name [Object] Object to be assigned
# @!visibility private
Expand Down
Loading
Loading