diff --git a/.changes/unreleased/Refactor-20241105-100320.yaml b/.changes/unreleased/Refactor-20241105-100320.yaml new file mode 100644 index 00000000..953f230a --- /dev/null +++ b/.changes/unreleased/Refactor-20241105-100320.yaml @@ -0,0 +1,3 @@ +kind: Refactor +body: BREAKING CHANGE revert ServiceCreateInput and ServiceUpdateInput YAML struct tags back to before 2024 convention +time: 2024-11-05T10:03:20.275463-06:00 diff --git a/input.go b/input.go index a58052c7..5abedea7 100644 --- a/input.go +++ b/input.go @@ -932,9 +932,9 @@ type ServiceCreateInput struct { Description *string `json:"description,omitempty" yaml:"description,omitempty" example:"example_description"` // A brief description of the service. (Optional.) Language *string `json:"language,omitempty" yaml:"language,omitempty" example:"example_language"` // The primary programming language that the service is written in. (Optional.) Framework *string `json:"framework,omitempty" yaml:"framework,omitempty" example:"example_framework"` // The primary software development framework that the service uses. (Optional.) - TierAlias *string `json:"tierAlias,omitempty" yaml:"tierAlias,omitempty" example:"example_alias"` // The software tier that the service belongs to. (Optional.) - OwnerInput *IdentifierInput `json:"ownerInput,omitempty" yaml:"ownerInput,omitempty"` // The owner for this service. (Optional.) - LifecycleAlias *string `json:"lifecycleAlias,omitempty" yaml:"lifecycleAlias,omitempty" example:"example_alias"` // The lifecycle stage of the service. (Optional.) + TierAlias *string `json:"tierAlias,omitempty" yaml:"tier,omitempty" example:"example_alias"` // The software tier that the service belongs to. (Optional.) + OwnerInput *IdentifierInput `json:"ownerInput,omitempty" yaml:"owner,omitempty"` // The owner for this service. (Optional.) + LifecycleAlias *string `json:"lifecycleAlias,omitempty" yaml:"lifecycle,omitempty" example:"example_alias"` // The lifecycle stage of the service. (Optional.) SkipAliasesValidation *bool `json:"skipAliasesValidation,omitempty" yaml:"skipAliasesValidation,omitempty" example:"false"` // Allows for the creation of a service with invalid aliases. (Optional.) } @@ -987,9 +987,9 @@ type ServiceUpdateInput struct { Description *string `json:"description,omitempty" yaml:"description,omitempty" example:"example_description"` // A brief description of the service. (Optional.) Language *string `json:"language,omitempty" yaml:"language,omitempty" example:"example_language"` // The primary programming language that the service is written in. (Optional.) Framework *string `json:"framework,omitempty" yaml:"framework,omitempty" example:"example_framework"` // The primary software development framework that the service uses. (Optional.) - TierAlias *string `json:"tierAlias,omitempty" yaml:"tierAlias,omitempty" example:"example_alias"` // The software tier that the service belongs to. (Optional.) - OwnerInput *IdentifierInput `json:"ownerInput,omitempty" yaml:"ownerInput,omitempty"` // The owner for the service. (Optional.) - LifecycleAlias *string `json:"lifecycleAlias,omitempty" yaml:"lifecycleAlias,omitempty" example:"example_alias"` // The lifecycle stage of the service. (Optional.) + TierAlias *string `json:"tierAlias,omitempty" yaml:"tier,omitempty" example:"example_alias"` // The software tier that the service belongs to. (Optional.) + OwnerInput *IdentifierInput `json:"ownerInput,omitempty" yaml:"owner,omitempty"` // The owner for the service. (Optional.) + LifecycleAlias *string `json:"lifecycleAlias,omitempty" yaml:"lifecycle,omitempty" example:"example_alias"` // The lifecycle stage of the service. (Optional.) SkipAliasesValidation *bool `json:"skipAliasesValidation,omitempty" yaml:"skipAliasesValidation,omitempty" example:"false"` // Allows updating a service with invalid aliases. (Optional.) } diff --git a/new_input.go b/new_input.go index dbfa2ee7..1b36518f 100644 --- a/new_input.go +++ b/new_input.go @@ -19,9 +19,9 @@ type ServiceUpdateInputV2 struct { Description *Nullable[string] `json:"description,omitempty" yaml:"description,omitempty" example:"example_description"` // A brief description of the service. (Optional.) Language *Nullable[string] `json:"language,omitempty" yaml:"language,omitempty" example:"example_language"` // The primary programming language that the service is written in. (Optional.) Framework *Nullable[string] `json:"framework,omitempty" yaml:"framework,omitempty" example:"example_framework"` // The primary software development framework that the service uses. (Optional.) - TierAlias *Nullable[string] `json:"tierAlias,omitempty" yaml:"tierAlias,omitempty" example:"example_alias"` // The software tier that the service belongs to. (Optional.) - OwnerInput *IdentifierInput `json:"ownerInput,omitempty" yaml:"ownerInput,omitempty"` // The owner for the service. (Optional.) - LifecycleAlias *Nullable[string] `json:"lifecycleAlias,omitempty" yaml:"lifecycleAlias,omitempty" example:"example_alias"` // The lifecycle stage of the service. (Optional.) + TierAlias *Nullable[string] `json:"tierAlias,omitempty" yaml:"tier,omitempty" example:"example_alias"` // The software tier that the service belongs to. (Optional.) + OwnerInput *IdentifierInput `json:"ownerInput,omitempty" yaml:"owner,omitempty"` // The owner for the service. (Optional.) + LifecycleAlias *Nullable[string] `json:"lifecycleAlias,omitempty" yaml:"lifecycle,omitempty" example:"example_alias"` // The lifecycle stage of the service. (Optional.) SkipAliasesValidation *bool `json:"skipAliasesValidation,omitempty" yaml:"skipAliasesValidation,omitempty" example:"false"` // Allows updating a service with invalid aliases. (Optional.) }