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 876d9ea
Show file tree
Hide file tree
Showing 7 changed files with 206 additions and 160 deletions.
268 changes: 131 additions & 137 deletions eng/emitter-package-lock.json

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions eng/emitter-package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"main": "dist/src/index.js",
"dependencies": {
"@azure-tools/typespec-go": "0.3.0"
"@azure-tools/typespec-go": "0.3.4"
},
"devDependencies": {
"@azure-tools/typespec-autorest": "0.44.1",
"@azure-tools/typespec-azure-core": "0.44.0",
"@azure-tools/typespec-azure-resource-manager": "0.44.0",
"@azure-tools/typespec-azure-rulesets": "0.44.0",
"@azure-tools/typespec-client-generator-core": "0.44.3",
"@typespec/compiler": "0.58.1",
"@typespec/http": "0.58.0",
"@typespec/openapi": "0.58.0",
"@typespec/rest": "0.58.0",
"@typespec/versioning": "0.58.0"
"@azure-tools/typespec-autorest": "0.48.0",
"@azure-tools/typespec-azure-core": "0.48.0",
"@azure-tools/typespec-azure-resource-manager": "0.48.0",
"@azure-tools/typespec-azure-rulesets": "0.48.0",
"@azure-tools/typespec-client-generator-core": "0.48.3",
"@typespec/compiler": "0.62.0",
"@typespec/http": "0.62.0",
"@typespec/openapi": "0.62.0",
"@typespec/rest": "0.62.0",
"@typespec/versioning": "0.62.0"
}
}
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 876d9ea

Please sign in to comment.