Skip to content

Commit

Permalink
fixing tsp formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Beenham <[email protected]>
  • Loading branch information
superbeeny committed Aug 2, 2024
1 parent dff99b2 commit de193ad
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions typespec/Applications.Core/common.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ import "@typespec/openapi";

using OpenAPI;


@doc("This specifies a reference to a secret. Secrets are encrypted, often have fine-grained access control, auditing and are recommended to be used to hold sensitive data.")
model SecretReference {
@doc("The ID of an Applications.Core/SecretStore resource containing sensitive data required for recipe execution.")
source: string;

@doc("The key for the secret in the secret store.")
key: string;
}
}
1 change: 0 additions & 1 deletion typespec/Applications.Core/containers.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ model EnvironmentVariableReference {
secretRef: SecretReference;
}


@doc("The image pull policy for the container")
enum ImagePullPolicy {
@doc("Always")
Expand Down
2 changes: 0 additions & 2 deletions typespec/Applications.Core/environments.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,6 @@ model TerraformRecipeProperties extends RecipeProperties {
templateVersion?: string;
}



@doc("Represents the request body of the getmetadata action.")
model RecipeGetMetadata {
@doc("Type of the resource this recipe can be consumed by. For example: 'Applications.Datastores/mongoDatabases'.")
Expand Down

0 comments on commit de193ad

Please sign in to comment.