diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..e6a9944 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# This allows generated code to be indexed correctly +*.go linguist-generated=false \ No newline at end of file diff --git a/.github/workflows/sdk_generation.yaml b/.github/workflows/sdk_generation.yaml new file mode 100644 index 0000000..65342d7 --- /dev/null +++ b/.github/workflows/sdk_generation.yaml @@ -0,0 +1,29 @@ +name: Generate +permissions: + checks: write + contents: write + pull-requests: write + statuses: write + id-token: write +"on": + workflow_dispatch: + inputs: + force: + description: Force generation of SDKs + type: boolean + default: false + set_version: + description: optionally set a specific SDK version + type: string + schedule: + - cron: 0 0 * * * +jobs: + 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 }} + secrets: + github_access_token: ${{ secrets.GITHUB_TOKEN }} + speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d3c2f59 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +# .gitignore diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock new file mode 100644 index 0000000..743e823 --- /dev/null +++ b/.speakeasy/workflow.lock @@ -0,0 +1,37 @@ +speakeasyVersion: 1.448.2 +sources: + SolarWinds Observability: + sourceNamespace: solar-winds-observability + sourceRevisionDigest: sha256:280e23fc7295a3ceae14d75468f84786ec9fef241d0703dc99d061c401baa78c + sourceBlobDigest: sha256:2c17034a64e9758775effca637fd1eb6c850fd3bcb688ef8d4cd4fe6c1b22429 + tags: + - latest + - 1.0.0 +targets: + solar-winds: + source: SolarWinds Observability + sourceNamespace: solar-winds-observability + sourceRevisionDigest: sha256:280e23fc7295a3ceae14d75468f84786ec9fef241d0703dc99d061c401baa78c + sourceBlobDigest: sha256:2c17034a64e9758775effca637fd1eb6c850fd3bcb688ef8d4cd4fe6c1b22429 + codeSamplesNamespace: solar-winds-observability-go-code-samples + codeSamplesRevisionDigest: sha256:1e1bee0feba0d8bde821cb15a56d89dea9ddfe56870270ab0f2053a76fe0848c +workflow: + workflowVersion: 1.0.0 + speakeasyVersion: latest + sources: + SolarWinds Observability: + inputs: + - location: https://api.na-01.cloud.solarwinds.com/v1/openapi.json + overlays: + - location: overlay-codesamples.yaml + output: openapi.yaml + registry: + location: registry.speakeasyapi.dev/swo/swo/solar-winds-observability + targets: + solar-winds: + target: go + source: SolarWinds Observability + codeSamples: + registry: + location: registry.speakeasyapi.dev/swo/swo/solar-winds-observability-go-code-samples + blocking: false diff --git a/.speakeasy/workflow.yaml b/.speakeasy/workflow.yaml new file mode 100644 index 0000000..700b804 --- /dev/null +++ b/.speakeasy/workflow.yaml @@ -0,0 +1,16 @@ +workflowVersion: 1.0.0 +speakeasyVersion: latest +sources: + SolarWinds Observability: + inputs: + - location: https://api.na-01.cloud.solarwinds.com/v1/openapi.json + overlays: + - location: overlay-codesamples.yaml + output: openapi.yaml + registry: + location: registry.speakeasyapi.dev/swo/swo/solar-winds-observability +targets: + solar-winds: + target: go + source: SolarWinds Observability + output: solarwinds diff --git a/solarwinds/.speakeasy/gen.lock b/solarwinds/.speakeasy/gen.lock new file mode 100644 index 0000000..8211cf0 --- /dev/null +++ b/solarwinds/.speakeasy/gen.lock @@ -0,0 +1,407 @@ +lockVersion: 2.0.0 +id: 9a946301-cef9-48a6-8176-f1b8466afecd +management: + docChecksum: 98c925ea36859652a215803a85628472 + docVersion: 1.0.0 + speakeasyVersion: 1.448.2 + generationVersion: 2.467.4 + releaseVersion: 0.2.1 + configChecksum: 82b83a1e51195abff94e2ca93fccc526 +features: + go: + additionalDependencies: 0.1.0 + constsAndDefaults: 0.1.6 + core: 3.5.17 + defaultEnabledRetries: 0.2.0 + devContainers: 2.90.0 + envVarSecurityUsage: 0.3.2 + globalSecurity: 2.82.10 + globalSecurityCallbacks: 0.1.0 + globalSecurityFlattening: 0.1.0 + globalServerURLs: 2.82.2 + ignores: 2.81.1 + intellisenseMarkdownSupport: 0.1.0 + pagination: 2.82.1 + responseFormat: 0.1.2 + retries: 2.83.1 + sdkHooks: 0.1.0 +generatedFiles: + - .devcontainer/README.md + - .devcontainer/devcontainer.json + - .devcontainer/setup.sh + - .gitattributes + - /models/apierrors/createcompositemetric.go + - /models/apierrors/createwebsitemonitor.go + - /models/apierrors/deletewebsitemonitor.go + - /models/apierrors/getwebsitemonitor.go + - /models/apierrors/pausewebsitemonitor.go + - /models/apierrors/unpausewebsitemonitor.go + - /models/apierrors/updatewebsitemonitor.go + - /models/components/availabilitychecksettings.go + - /models/components/changeevent.go + - /models/components/checkforstring.go + - /models/components/commonkeyvaluepair.go + - /models/components/commonlink.go + - /models/components/commonmetricinfo.go + - /models/components/commonpageinfo.go + - /models/components/compositemetric.go + - /models/components/createtokenrequest.go + - /models/components/customheaders.go + - /models/components/entity.go + - /models/components/httpmetadata.go + - /models/components/logsarchive.go + - /models/components/logsevent.go + - /models/components/metricsaggregationmethods.go + - /models/components/metricsgrouping.go + - /models/components/metricsmeasurement.go + - /models/components/operator.go + - /models/components/probelocationtype.go + - /models/components/probeplatform.go + - /models/components/probeplatformoptions.go + - /models/components/security.go + - /models/components/sslmonitoring.go + - /models/components/tag.go + - /models/components/testfrom.go + - /models/components/website.go + - /models/components/websiteprotocol.go + - /models/operations/createchangeevent.go + - /models/operations/createcompositemetric.go + - /models/operations/createtoken.go + - /models/operations/createwebsitemonitor.go + - /models/operations/deletewebsitemonitor.go + - /models/operations/getentitybyid.go + - /models/operations/getmetricbyname.go + - /models/operations/getwebsitemonitor.go + - /models/operations/listentities.go + - /models/operations/listentitytypes.go + - /models/operations/listlogarchives.go + - /models/operations/listmetricattributes.go + - /models/operations/listmetricattributevalues.go + - /models/operations/listmetricmeasurements.go + - /models/operations/listmetrics.go + - /models/operations/listmetricsforentitytype.go + - /models/operations/pausewebsitemonitor.go + - /models/operations/searchlogs.go + - /models/operations/unpausewebsitemonitor.go + - /models/operations/updatewebsitemonitor.go + - CONTRIBUTING.md + - USAGE.md + - changeevents.go + - dem.go + - docs/models/apierrors/createcompositemetricdetails.md + - docs/models/apierrors/createcompositemetricinnererror.md + - docs/models/apierrors/createcompositemetricmetricsdetails.md + - docs/models/apierrors/createcompositemetricmetricsinnererror.md + - docs/models/apierrors/createcompositemetricmetricsresponsebody.md + - docs/models/apierrors/createcompositemetricresponsebody.md + - docs/models/apierrors/createwebsitemonitorresponsebody.md + - docs/models/apierrors/deletewebsitemonitordetails.md + - docs/models/apierrors/deletewebsitemonitorinnererror.md + - docs/models/apierrors/deletewebsitemonitorresponsebody.md + - docs/models/apierrors/details.md + - docs/models/apierrors/getwebsitemonitordetails.md + - docs/models/apierrors/getwebsitemonitorinnererror.md + - docs/models/apierrors/getwebsitemonitorresponsebody.md + - docs/models/apierrors/innererror.md + - docs/models/apierrors/pausewebsitemonitordetails.md + - docs/models/apierrors/pausewebsitemonitorinnererror.md + - docs/models/apierrors/pausewebsitemonitorresponsebody.md + - docs/models/apierrors/unpausewebsitemonitordetails.md + - docs/models/apierrors/unpausewebsitemonitorinnererror.md + - docs/models/apierrors/unpausewebsitemonitorresponsebody.md + - docs/models/apierrors/updatewebsitemonitordetails.md + - docs/models/apierrors/updatewebsitemonitorinnererror.md + - docs/models/apierrors/updatewebsitemonitorresponsebody.md + - docs/models/components/availabilitychecksettings.md + - docs/models/components/changeevent.md + - docs/models/components/checkforstring.md + - docs/models/components/commonkeyvaluepair.md + - docs/models/components/commonlink.md + - docs/models/components/commonmetricinfo.md + - docs/models/components/commonpageinfo.md + - docs/models/components/compositemetric.md + - docs/models/components/createtokenrequest.md + - docs/models/components/customheaders.md + - docs/models/components/entity.md + - docs/models/components/httpmetadata.md + - docs/models/components/logsarchive.md + - docs/models/components/logsevent.md + - docs/models/components/metricsaggregationmethods.md + - docs/models/components/metricsgrouping.md + - docs/models/components/metricsmeasurement.md + - docs/models/components/operator.md + - docs/models/components/probelocationtype.md + - docs/models/components/probeplatform.md + - docs/models/components/probeplatformoptions.md + - docs/models/components/rum.md + - docs/models/components/security.md + - docs/models/components/sslmonitoring.md + - docs/models/components/tag.md + - docs/models/components/tags.md + - docs/models/components/testfrom.md + - docs/models/components/type.md + - docs/models/components/website.md + - docs/models/components/websiteprotocol.md + - docs/models/operations/availabilitychecksettings.md + - docs/models/operations/createchangeeventresponse.md + - docs/models/operations/createchangeeventresponsebody.md + - docs/models/operations/createcompositemetricresponse.md + - docs/models/operations/createtokenresponse.md + - docs/models/operations/createtokenresponsebody.md + - docs/models/operations/createwebsitemonitorresponse.md + - docs/models/operations/createwebsitemonitorresponsebody.md + - docs/models/operations/deletewebsitemonitorrequest.md + - docs/models/operations/deletewebsitemonitorresponse.md + - docs/models/operations/deletewebsitemonitorresponsebody.md + - docs/models/operations/getentitybyidrequest.md + - docs/models/operations/getentitybyidresponse.md + - docs/models/operations/getmetricbynamerequest.md + - docs/models/operations/getmetricbynameresponse.md + - docs/models/operations/getwebsitemonitorrequest.md + - docs/models/operations/getwebsitemonitorresponse.md + - docs/models/operations/getwebsitemonitorresponsebody.md + - docs/models/operations/listentitiesrequest.md + - docs/models/operations/listentitiesresponse.md + - docs/models/operations/listentitiesresponsebody.md + - docs/models/operations/listentitytypesresponse.md + - docs/models/operations/listentitytypesresponsebody.md + - docs/models/operations/listlogarchivesrequest.md + - docs/models/operations/listlogarchivesresponse.md + - docs/models/operations/listlogarchivesresponsebody.md + - docs/models/operations/listmetricattributesrequest.md + - docs/models/operations/listmetricattributesresponse.md + - docs/models/operations/listmetricattributesresponsebody.md + - docs/models/operations/listmetricattributevaluesrequest.md + - docs/models/operations/listmetricattributevaluesresponse.md + - docs/models/operations/listmetricattributevaluesresponsebody.md + - docs/models/operations/listmetricmeasurementsrequest.md + - docs/models/operations/listmetricmeasurementsresponse.md + - docs/models/operations/listmetricmeasurementsresponsebody.md + - docs/models/operations/listmetricsforentitytyperequest.md + - docs/models/operations/listmetricsforentitytyperesponse.md + - docs/models/operations/listmetricsforentitytyperesponsebody.md + - docs/models/operations/listmetricsrequest.md + - docs/models/operations/listmetricsresponse.md + - docs/models/operations/listmetricsresponsebody.md + - docs/models/operations/option.md + - docs/models/operations/pausewebsitemonitorrequest.md + - docs/models/operations/pausewebsitemonitorresponse.md + - docs/models/operations/pausewebsitemonitorresponsebody.md + - docs/models/operations/rum.md + - docs/models/operations/searchlogsrequest.md + - docs/models/operations/searchlogsresponse.md + - docs/models/operations/searchlogsresponsebody.md + - docs/models/operations/unpausewebsitemonitorrequest.md + - docs/models/operations/unpausewebsitemonitorresponse.md + - docs/models/operations/unpausewebsitemonitorresponsebody.md + - docs/models/operations/updatewebsitemonitorrequest.md + - docs/models/operations/updatewebsitemonitorresponse.md + - docs/models/operations/updatewebsitemonitorresponsebody.md + - docs/sdks/changeevents/README.md + - docs/sdks/dem/README.md + - docs/sdks/entities/README.md + - docs/sdks/logs/README.md + - docs/sdks/metadata/README.md + - docs/sdks/metrics/README.md + - docs/sdks/solarwinds/README.md + - docs/sdks/tokens/README.md + - entities.go + - go.mod + - internal/hooks/hooks.go + - internal/utils/contenttype.go + - internal/utils/env.go + - internal/utils/form.go + - internal/utils/headers.go + - internal/utils/json.go + - internal/utils/pathparams.go + - internal/utils/queryparams.go + - internal/utils/requestbody.go + - internal/utils/retries.go + - internal/utils/security.go + - internal/utils/utils.go + - logs.go + - metadata.go + - metrics.go + - models/apierrors/apierror.go + - models/operations/options.go + - retry/config.go + - solarwinds.go + - tokens.go + - types/bigint.go + - types/date.go + - types/datetime.go + - types/decimal.go + - types/pointers.go +examples: + createChangeEvent: + speakeasy-default-create-change-event: + requestBody: + application/json: {"id": 1731676626, "name": "app-deploys", "title": "deployed v45", "timestamp": 1731676626, "source": "foo3.example.com", "tags": {"app": "foo", "environment": "production"}, "links": [{"rel": "self", "href": "https://example.com"}]} + responses: + "200": + application/json: {"id": 119883} + listEntities: + speakeasy-default-list-entities: + parameters: + query: + type: "" + responses: + "200": + application/json: {"entities": [{"id": "e-1234567890", "type": "SyslogHost", "name": "syslog-host-1"}], "pageInfo": {"prevPage": "", "nextPage": ""}} + getEntityById: + speakeasy-default-get-entity-by-id: + parameters: + path: + id: "" + responses: + "200": + application/json: {"id": "e-1234567890", "type": "SyslogHost", "name": "syslog-host-1"} + searchLogs: + speakeasy-default-search-logs: + responses: + "200": + application/json: {"logs": [{"id": "1793698955374546944", "time": "2024-01-01T00:00:00Z", "message": "This is a log message", "hostname": "webserver.example.com", "severity": "INFO", "program": "httpd"}], "pageInfo": {"prevPage": "", "nextPage": ""}} + listLogArchives: + speakeasy-default-list-log-archives: + parameters: + query: + startTime: "" + endTime: "" + responses: + "200": + application/json: {"logArchives": [{"id": "logs/138723/dt=2024-01-23/2024-01-23-08.json.gz", "name": "2024-01-23-08.json.gz", "downloadUrl": "https://ssp-log-archives.s3.amazonaws.com/logs/138723/dt%3D2024-01-23/2024-01-23-08.json.gz?X-Amz-Security-Token=IQ...", "archivedTimestamp": "1706020985", "archiveSize": 817226354}, {"id": "logs/138723/dt=2024-01-23/2024-01-23-08.json.gz", "name": "2024-01-23-08.json.gz", "downloadUrl": "https://ssp-log-archives.s3.amazonaws.com/logs/138723/dt%3D2024-01-23/2024-01-23-08.json.gz?X-Amz-Security-Token=IQ...", "archivedTimestamp": "1706020985", "archiveSize": 817226354}, {"id": "logs/138723/dt=2024-01-23/2024-01-23-08.json.gz", "name": "2024-01-23-08.json.gz", "downloadUrl": "https://ssp-log-archives.s3.amazonaws.com/logs/138723/dt%3D2024-01-23/2024-01-23-08.json.gz?X-Amz-Security-Token=IQ...", "archivedTimestamp": "1706020985", "archiveSize": 817226354}], "pageInfo": {"prevPage": "", "nextPage": ""}} + listEntityTypes: + speakeasy-default-list-entity-types: + responses: + "200": + application/json: {"types": ["Service", "ServiceInstance", "KubernetesCluster"]} + listMetricsForEntityType: + speakeasy-default-list-metrics-for-entity-type: + parameters: + path: + type: "" + query: {} + responses: + "200": + application/json: {"type": "KubernetesCluster", "metrics": [{"name": "composite.k8s.pod.container.status.restarts.increase", "units": "count", "lastReportedTime": "2021-01-01T00:00:00Z"}]} + listMetrics: + speakeasy-default-list-metrics: + responses: + "200": + application/json: {"metricsInfo": [], "pageInfo": {"prevPage": "", "nextPage": ""}} + createCompositeMetric: + speakeasy-default-create-composite-metric: + requestBody: + application/json: {"name": "composite.custom.system.disk.io.rate", "displayName": "Disk IO rate", "description": "Disk bytes transferred per second", "formula": "rate(system.disk.io[5m])", "units": "bytes/s"} + responses: + "201": + application/json: {"name": "composite.custom.system.disk.io.rate", "displayName": "Disk IO rate", "description": "Disk bytes transferred per second", "formula": "rate(system.disk.io[5m])", "units": "bytes/s"} + "400": + application/json: {"code": "", "message": "", "": {}} + "403": + application/json: {"code": "", "message": "", "": {}} + getMetricByName: + speakeasy-default-get-metric-by-name: + parameters: + path: + name: "" + responses: + "200": + application/json: {"name": "composite.k8s.pod.container.status.restarts.increase", "units": "count", "formula": "increase(k8s.kube_pod_container_status_restarts_total[5m])", "lastReportedTime": "2021-01-01T00:00:00Z"} + listMetricAttributes: + speakeasy-default-list-metric-attributes: + parameters: + path: + name: "" + query: {} + responses: + "200": + application/json: {"names": [], "pageInfo": {"prevPage": "", "nextPage": ""}} + listMetricAttributeValues: + speakeasy-default-list-metric-attribute-values: + parameters: + path: + name: "" + attributeName: "" + query: {} + responses: + "200": + application/json: {"name": "", "values": [], "pageInfo": {"prevPage": "", "nextPage": ""}} + listMetricMeasurements: + speakeasy-default-list-metric-measurements: + parameters: + path: + name: "" + query: {} + responses: + "200": + application/json: {"groupings": [{"attributes": [{"key": "", "value": ""}, {"key": "", "value": ""}], "measurements": []}, {"attributes": [{"key": "", "value": ""}, {"key": "", "value": ""}, {"key": "", "value": ""}], "measurements": [{"time": "", "value": 730756}, {"time": "", "value": 115821}, {"time": "", "value": 25026}]}, {"attributes": [], "measurements": [{"time": "", "value": 201967}]}], "bucketSizeInSeconds": 45557, "pageInfo": {"prevPage": "", "nextPage": ""}} + createToken: + speakeasy-default-create-token: + requestBody: + application/json: {"name": "", "tags": {"server": "", "tag_without_value": ""}, "type": "ingestion"} + responses: + "200": + application/json: {"token": ""} + createWebsiteMonitor: + speakeasy-default-create-website-monitor: + requestBody: + application/json: {"name": "solarwinds.com", "url": "https://www.solarwinds.com", "availabilityCheckSettings": {"checkForString": {"operator": "CONTAINS", "value": "string"}, "testIntervalInSeconds": 14400, "protocols": ["HTTP", "HTTPS"], "platformOptions": {"probePlatforms": ["AWS"], "testFromAll": true}, "testFrom": {"type": "REGION", "values": ["NA"]}, "ssl": {"enabled": true, "daysPriorToExpiration": 7, "ignoreIntermediateCertificates": true}, "customHeaders": [{"name": "string", "value": "string"}], "allowInsecureRenegotiation": true, "postData": "{\"example\": \"value\"}"}, "tags": [{"key": "environment", "value": "production"}], "rum": {"apdexTimeInSeconds": 4, "spa": true}} + responses: + "200": + application/json: {"id": "e-1448474379026206720"} + "400": + application/json: {"code": "", "message": "", "": {}} + getWebsiteMonitor: + speakeasy-default-get-website-monitor: + parameters: + path: + entityId: "" + responses: + "200": + application/json: {"id": "e-1448474379026206720", "type": "Website", "name": "solarwinds.com", "url": "https://www.solarwinds.com", "availabilityCheckSettings": {"checkForString": {"operator": "CONTAINS", "value": "string"}, "testIntervalInSeconds": 14400, "protocols": ["HTTP", "HTTPS"], "platformOptions": {"probePlatforms": ["AWS"], "testFromAll": true}, "testFrom": {"type": "REGION", "values": ["NA"]}, "ssl": {"enabled": true, "daysPriorToExpiration": 7, "ignoreIntermediateCertificates": true}, "customHeaders": [{"name": "string", "value": "string"}], "allowInsecureRenegotiation": true, "postData": "{\"example\": \"value\"}"}, "tags": [{"key": "environment", "value": "production"}], "rum": {"apdexTimeInSeconds": 4, "snippet": "string", "spa": true}, "nextOnDemandAvailabilityTime": 0} + "400": + application/json: {"code": "", "message": "", "": {}} + updateWebsiteMonitor: + speakeasy-default-update-website-monitor: + parameters: + path: + entityId: "" + requestBody: + application/json: {"name": "solarwinds.com", "url": "https://www.solarwinds.com", "availabilityCheckSettings": {"checkForString": {"operator": "CONTAINS", "value": "string"}, "testIntervalInSeconds": 14400, "protocols": ["HTTP", "HTTPS"], "platformOptions": {"probePlatforms": ["AWS"], "testFromAll": true}, "testFrom": {"type": "REGION", "values": ["NA"]}, "ssl": {"enabled": true, "daysPriorToExpiration": 7, "ignoreIntermediateCertificates": true}, "customHeaders": [{"name": "string", "value": "string"}], "allowInsecureRenegotiation": true, "postData": "{\"example\": \"value\"}"}, "tags": [{"key": "environment", "value": "production"}], "rum": {"apdexTimeInSeconds": 4, "spa": true}} + responses: + "200": + application/json: {"id": "e-1448474379026206720"} + "400": + application/json: {"code": "", "message": "", "": {}} + deleteWebsiteMonitor: + speakeasy-default-delete-website-monitor: + parameters: + path: + entityId: "" + responses: + "200": + application/json: {"id": "e-1448474379026206720"} + "400": + application/json: {"code": "", "message": "", "": {}} + pauseWebsiteMonitor: + speakeasy-default-pause-website-monitor: + parameters: + path: + entityId: "" + responses: + "200": + application/json: {"id": "e-1448474379026206720"} + "400": + application/json: {"code": "", "message": "", "": {}} + unpauseWebsiteMonitor: + speakeasy-default-unpause-website-monitor: + parameters: + path: + entityId: "" + responses: + "200": + application/json: {"id": "e-1448474379026206720"} + "400": + application/json: {"code": "", "message": "", "": {}} +generatedTests: {} diff --git a/solarwinds/.speakeasy/gen.yaml b/solarwinds/.speakeasy/gen.yaml new file mode 100644 index 0000000..5e0b9b1 --- /dev/null +++ b/solarwinds/.speakeasy/gen.yaml @@ -0,0 +1,39 @@ +configVersion: 2.0.0 +generation: + devContainers: + enabled: true + schemaPath: https://api.na-01.cloud.solarwinds.com/v1/openapi.json + sdkClassName: SolarWinds + maintainOpenAPIOrder: true + usageSnippets: + optionalPropertyRendering: withExample + useClassNamesForArrayFields: true + fixes: + nameResolutionDec2023: true + parameterOrderingFeb2024: true + requestResponseComponentNamesFeb2024: true + auth: + oAuth2ClientCredentialsEnabled: true + oAuth2PasswordEnabled: true +go: + version: 0.2.1 + additionalDependencies: {} + allowUnknownFieldsInWeakUnions: false + clientServerStatusCodesAsErrors: true + defaultErrorName: APIError + envVarPrefix: SWO + flattenGlobalSecurity: true + imports: + option: openapi + paths: + callbacks: models/callbacks + errors: models/apierrors + operations: models/operations + shared: models/components + webhooks: models/webhooks + inputModelSuffix: input + maxMethodParams: 0 + methodArguments: require-security-and-request + outputModelSuffix: output + packageName: github.com/solarwinds/swo-sdk-go/solarwinds + responseFormat: envelope-http