Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
gracewilcox committed Dec 3, 2024
1 parent 09ae291 commit 6025a2a
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 12 deletions.
3 changes: 1 addition & 2 deletions sdk/security/keyvault/azsecrets/build.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
//go:build go1.18
// +build go1.18

//go:generate tsp-client sync --local-spec-repo /home/grace/code/azure-rest-api-specs/specification/keyvault/Security.KeyVault.Secrets
//go:generate tsp-client generate
//go:generate tsp-client update
//go:generate go run ./internal/transforms.go
//go:generate rm ./constants.go
//go:generate gofmt -w .
Expand Down
50 changes: 49 additions & 1 deletion sdk/security/keyvault/azsecrets/client.go

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

2 changes: 2 additions & 0 deletions sdk/security/keyvault/azsecrets/internal/transforms.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,6 @@ func main() {
// remove Max Results parameter
regexReplace("options.go", `(?:\/\/.*\s)+\sMaxresults \*int32`, `// placeholder for future optional parameters`)
regexReplace("client.go", `\sif options != nil && options.Maxresults != nil \{\s+.+\)\s+\}\s`, "")

regexReplace("client.go", `"strconv"`, "")
}
19 changes: 11 additions & 8 deletions sdk/security/keyvault/azsecrets/models.go

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

2 changes: 1 addition & 1 deletion sdk/security/keyvault/azsecrets/tsp-location.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
directory: specification/keyvault/Security.KeyVault.Secrets
commit: 710421cf3ba21c688e97cc9e7ab75c30270e5d3d
commit: 84a5e77596f6499df90493dacb828c480f26542e
repo: Azure/azure-rest-api-specs
additionalDirectories:

0 comments on commit 6025a2a

Please sign in to comment.