Skip to content

Commit

Permalink
Merge pull request #12 from solarwinds/gpoirier/v1_to_swov1
Browse files Browse the repository at this point in the history
Generate swov1 instead of v1
  • Loading branch information
grepory authored Jan 30, 2025
2 parents beae620 + 174bd0c commit ad810ef
Show file tree
Hide file tree
Showing 249 changed files with 293 additions and 291 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ permissions:
schedule:
- cron: 0 0 * * *
jobs:
generatev1:
generate:
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
with:
force: ${{ github.event.inputs.force }}
mode: pr
set_version: ${{ github.event.inputs.set_version }}
working_directory: v1
speakeasy_version: latest
target: swov1
secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@ permissions:
branches:
- main
paths:
- v1/.speakeasy/gen.lock
- swov1/.speakeasy/gen.lock
workflow_dispatch: {}
jobs:
publishv1:
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
with:
target: swo
working_directory: v1
target: swov1
secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
23 changes: 12 additions & 11 deletions v1/.speakeasy/workflow.lock → .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,35 +1,36 @@
speakeasyVersion: 1.477.2
speakeasyVersion: 1.478.1
sources:
SolarWinds Observability:
swov1:
sourceNamespace: solar-winds-observability
sourceRevisionDigest: sha256:7c55fd8fd90f2e9bcff30b5aadd313ce9ca922052bec77238b60f0e429f901b5
sourceRevisionDigest: sha256:25c64fefd96ab49b511bd116a1bb64fd9ce91fcfdded8018a13415924b1cac95
sourceBlobDigest: sha256:e6e779c06ae6785f34922ce823040871a1e4a3fdb0396942f2ecaef3e2f1ed11
tags:
- latest
- 1.0.2
targets:
swo:
source: SolarWinds Observability
swov1:
source: swov1
sourceNamespace: solar-winds-observability
sourceRevisionDigest: sha256:7c55fd8fd90f2e9bcff30b5aadd313ce9ca922052bec77238b60f0e429f901b5
sourceRevisionDigest: sha256:25c64fefd96ab49b511bd116a1bb64fd9ce91fcfdded8018a13415924b1cac95
sourceBlobDigest: sha256:e6e779c06ae6785f34922ce823040871a1e4a3fdb0396942f2ecaef3e2f1ed11
codeSamplesNamespace: solar-winds-observability-go-code-samples
codeSamplesRevisionDigest: sha256:f98781eb6147efc73f13ff94ea3ea1f1f89d4583f9d27e040f76c7561852809c
codeSamplesRevisionDigest: sha256:6488a90eb3678551d3d60a7c37d3a38b2060ee793792bb08ad0ce74da288fb34
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
sources:
SolarWinds Observability:
swov1:
inputs:
- location: https://api.na-01.cloud.solarwinds.com/v1/openapi.json
overlays:
- location: .speakeasy/overlays/auth.yaml
- location: swov1/.speakeasy/overlays/auth.yaml
registry:
location: registry.speakeasyapi.dev/swo/swo/solar-winds-observability
targets:
swo:
swov1:
target: go
source: SolarWinds Observability
source: swov1
output: swov1
codeSamples:
registry:
location: registry.speakeasyapi.dev/swo/swo/solar-winds-observability-go-code-samples
Expand Down
9 changes: 5 additions & 4 deletions v1/.speakeasy/workflow.yaml → .speakeasy/workflow.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
workflowVersion: 1.0.0
speakeasyVersion: latest
sources:
SolarWinds Observability:
swov1:
inputs:
- location: https://api.na-01.cloud.solarwinds.com/v1/openapi.json
overlays:
- location: .speakeasy/overlays/auth.yaml
- location: swov1/.speakeasy/overlays/auth.yaml
registry:
location: registry.speakeasyapi.dev/swo/swo/solar-winds-observability
targets:
swo:
swov1:
target: go
source: SolarWinds Observability
source: swov1
output: swov1
codeSamples:
registry:
location: registry.speakeasyapi.dev/swo/swo/solar-winds-observability-go-code-samples
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions v1/.speakeasy/gen.lock → swov1/.speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ id: 211f109d-fefa-4e6d-8a41-db1221672b8a
management:
docChecksum: ac81c31243b35bc067e3bcfda35c1811
docVersion: 1.0.2
speakeasyVersion: 1.477.2
generationVersion: 2.497.8
releaseVersion: 0.0.2
configChecksum: 69e6082b62efef543b45cd0abfdff6c9
speakeasyVersion: 1.478.1
generationVersion: 2.498.4
releaseVersion: 0.0.3
configChecksum: 13de45431bf8d1360fd1e23bddcecdcb
features:
go:
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.6
core: 3.6.10
core: 3.6.11
defaultEnabledRetries: 0.2.0
devContainers: 2.90.0
envVarSecurityUsage: 0.3.2
Expand Down
4 changes: 2 additions & 2 deletions v1/.speakeasy/gen.yaml → swov1/.speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: true
go:
version: 0.0.2
version: 0.0.3
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
clientServerStatusCodesAsErrors: true
Expand All @@ -35,5 +35,5 @@ go:
maxMethodParams: 0
methodArguments: require-security-and-request
outputModelSuffix: output
packageName: github.com/solarwinds/swo-sdk-go/v1
packageName: github.com/solarwinds/swo-sdk-go/swov1
responseFormat: envelope-http
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit ad810ef

Please sign in to comment.