Skip to content

Commit

Permalink
Rebase and update golden files
Browse files Browse the repository at this point in the history
  • Loading branch information
coryan committed Nov 3, 2024
1 parent 70d0a94 commit 31631b8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions generator/cmd/openapi/testdata/rust/golden/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pub struct Location {
/// Cross-service attributes for the location. For example
///
/// {"cloud.googleapis.com/region": "us-east1"}
pub labels: ,
pub labels: Option<std::collections::HashMap<String,String>>,

/// Service-specific metadata. For example the available capacity at the given
/// location.
Expand Down Expand Up @@ -94,7 +94,7 @@ pub struct Secret {
/// regular expression: `[\p{Ll}\p{Lo}\p{N}_-]{0,63}`
///
/// No more than 64 labels can be assigned to a given resource.
pub labels: ,
pub labels: Option<std::collections::HashMap<String,String>>,

/// Optional. A list of up to 10 Pub/Sub topics to which messages are published when
/// control plane operations are called on the secret or its versions.
Expand Down Expand Up @@ -125,7 +125,7 @@ pub struct Secret {
/// Version-Alias pairs will be viewable via GetSecret and modifiable via
/// UpdateSecret. Access by alias is only be supported on
/// GetSecretVersion and AccessSecretVersion.
pub version_aliases: ,
pub version_aliases: Option<std::collections::HashMap<String,i64>>,

/// Optional. Custom metadata about the secret.
///
Expand All @@ -139,7 +139,7 @@ pub struct Secret {
/// alphanumerics in between these symbols.
///
/// The total size of annotation keys and values must be less than 16KiB.
pub annotations: ,
pub annotations: Option<std::collections::HashMap<String,String>>,

/// Optional. Secret Version TTL after destruction request
///
Expand Down

0 comments on commit 31631b8

Please sign in to comment.