Skip to content

Commit

Permalink
Merge pull request #45 from ryan-timothy-albert/speakeasy-sdk-regen-1…
Browse files Browse the repository at this point in the history
…733358203

chore: 🐝 Update SDK - Generate SECOND-TARGET 0.1.0
  • Loading branch information
ryan-timothy-albert authored Dec 5, 2024
2 parents 3030be0 + 0090d81 commit 94dec14
Show file tree
Hide file tree
Showing 33 changed files with 302 additions and 319 deletions.
29 changes: 22 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
speakeasyVersion: 1.421.0
speakeasyVersion: 1.451.5
sources:
petstore:
sourceNamespace: petstore
sourceRevisionDigest: sha256:5139f7eb35bd185e818a5cee58a68734ff027b5a2fa7c7e4bb5c1bff0ecaaf90
sourceBlobDigest: sha256:7c35756702030633a8d2ebb1d378d34f883126319b06edcd798ac7bb2fddb189
sourceRevisionDigest: sha256:752afa452517375e73e296bb590269216e0b102d79d5443ae7d2d33cdb9f49f9
sourceBlobDigest: sha256:012d4be23953adcc7552fbaf9a012f9f2ce1acb929189304bea43cccd9e8e681
tags:
- latest
- main
- speakeasy-sdk-regen-1733358203
- 1.0.0
targets:
first-target:
source: petstore
Expand All @@ -16,8 +17,10 @@ targets:
second-target:
source: petstore
sourceNamespace: petstore
sourceRevisionDigest: sha256:22dea4fa269cfc90ef29c704b6a25e91601d47b45da74b25f6f8550d09740bf7
sourceBlobDigest: sha256:0988cc3ebcf0b14954c082c37c08f8a965b0ec72781ffd459a9d4e105519f1da
sourceRevisionDigest: sha256:752afa452517375e73e296bb590269216e0b102d79d5443ae7d2d33cdb9f49f9
sourceBlobDigest: sha256:012d4be23953adcc7552fbaf9a012f9f2ce1acb929189304bea43cccd9e8e681
codeSamplesNamespace: petstore-python-code-samples
codeSamplesRevisionDigest: sha256:ee64f3165374a613901271d4d8db54f94b6d77913ef140914b7c96a06f4c75a6
third-target:
source: petstore
sourceNamespace: petstore
Expand All @@ -29,25 +32,37 @@ workflow:
sources:
petstore:
inputs:
- location: https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/v3.0/petstore.yaml
- location: https://raw.githubusercontent.com/OAI/OpenAPI-Specification/refs/heads/main/tests/v3.0/pass/petstore.yaml
registry:
location: registry.speakeasyapi.dev/ryan-local/ryan-telemetry/petstore
targets:
first-target:
target: go
source: petstore
output: go
codeSamples:
registry:
location: registry.speakeasyapi.dev/ryan-local/ryan-telemetry/petstore-go-code-samples
blocking: false
second-target:
target: python
source: petstore
output: py
publish:
pypi:
token: $pypi_token
codeSamples:
registry:
location: registry.speakeasyapi.dev/ryan-local/ryan-telemetry/petstore-python-code-samples
blocking: false
third-target:
target: typescript
source: petstore
output: ts
publish:
npm:
token: $npm_token
codeSamples:
registry:
location: registry.speakeasyapi.dev/ryan-local/ryan-telemetry/petstore-typescript-code-samples
blocking: false
12 changes: 12 additions & 0 deletions .speakeasy/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,29 @@ targets:
target: go
source: petstore
output: go
codeSamples:
registry:
location: registry.speakeasyapi.dev/ryan-local/ryan-telemetry/petstore-go-code-samples
blocking: false
second-target:
target: python
source: petstore
output: py
publish:
pypi:
token: $pypi_token
codeSamples:
registry:
location: registry.speakeasyapi.dev/ryan-local/ryan-telemetry/petstore-python-code-samples
blocking: false
third-target:
target: typescript
source: petstore
output: ts
publish:
npm:
token: $npm_token
codeSamples:
registry:
location: registry.speakeasyapi.dev/ryan-local/ryan-telemetry/petstore-typescript-code-samples
blocking: false
93 changes: 60 additions & 33 deletions py/.speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,58 +3,85 @@ id: bec1a8ce-6d87-480a-87e4-4d5233eefa3b
management:
docChecksum: 1bdb7a6f8bf3995d4b40475228403253
docVersion: 1.0.0
speakeasyVersion: 1.310.0
generationVersion: 2.347.4
releaseVersion: 0.0.10
configChecksum: 40c06cecd1f41423513ca6bccadeef75
speakeasyVersion: 1.451.5
generationVersion: 2.471.2
releaseVersion: 0.1.0
configChecksum: e50838a4395395e52b3a15491461de15
repoURL: https://github.com/ryan-timothy-albert/multi-sdk-sample.git
repoSubDirectory: py
installationURL: https://github.com/ryan-timothy-albert/multi-sdk-sample.git#subdirectory=py
published: true
features:
python:
additionalDependencies: 0.1.0
core: 4.6.11
core: 4.8.17
flattening: 2.81.1
globalSecurityCallbacks: 0.1.0
globalServerURLs: 2.82.2
responseFormat: 0.1.0
sdkHooks: 0.1.0
generatedFiles:
- src/sdk/sdkconfiguration.py
- src/sdk/pets.py
- src/sdk/sdk.py
- .gitattributes
- CONTRIBUTING.md
- USAGE.md
- docs/models/components/error.md
- docs/models/components/httpmetadata.md
- docs/models/components/pet.md
- docs/models/operations/createpetsresponse.md
- docs/models/operations/listpetsrequest.md
- docs/models/operations/listpetsresponse.md
- docs/models/operations/showpetbyidrequest.md
- docs/models/operations/showpetbyidresponse.md
- docs/sdks/pets/README.md
- docs/sdks/sdk/README.md
- py.typed
- pylintrc
- scripts/publish.sh
- setup.py
- src/sdk/__init__.py
- src/sdk/utils/__init__.py
- src/sdk/utils/retries.py
- src/sdk/utils/utils.py
- src/sdk/models/errors/sdkerror.py
- src/sdk/models/operations/listpets.py
- src/sdk/models/operations/createpets.py
- src/sdk/models/operations/showpetbyid.py
- src/sdk/_hooks/__init__.py
- src/sdk/_hooks/sdkhooks.py
- src/sdk/_hooks/types.py
- src/sdk/models/__init__.py
- src/sdk/models/components/__init__.py
- src/sdk/models/components/error.py
- src/sdk/models/components/pet.py
- src/sdk/models/components/httpmetadata.py
- src/sdk/models/__init__.py
- src/sdk/models/components/pet.py
- src/sdk/models/errors/__init__.py
- src/sdk/models/errors/sdkerror.py
- src/sdk/models/operations/__init__.py
- src/sdk/models/components/__init__.py
- docs/models/operations/listpetsrequest.md
- docs/models/operations/listpetsresponse.md
- docs/models/operations/createpetsresponse.md
- docs/models/operations/showpetbyidrequest.md
- docs/models/operations/showpetbyidresponse.md
- docs/models/components/error.md
- docs/models/components/pet.md
- docs/models/components/httpmetadata.md
- docs/sdks/sdk/README.md
- docs/sdks/pets/README.md
- USAGE.md
- .gitattributes
- src/sdk/_hooks/sdkhooks.py
- src/sdk/_hooks/types.py
- src/sdk/_hooks/__init__.py
- src/sdk/models/operations/createpets.py
- src/sdk/models/operations/listpets.py
- src/sdk/models/operations/showpetbyid.py
- src/sdk/pets.py
- src/sdk/sdk.py
- src/sdk/sdkconfiguration.py
- src/sdk/utils/__init__.py
- src/sdk/utils/retries.py
- src/sdk/utils/utils.py
examples:
listPets:
speakeasy-default-list-pets:
responses:
"200":
application/json: []
default:
application/json: {"code": 767425, "message": "<value>"}
createPets:
speakeasy-default-create-pets:
requestBody:
application/json: {"id": 596804, "name": "<value>"}
responses:
default:
application/json: {"code": 589113, "message": "<value>"}
showPetById:
speakeasy-default-show-pet-by-id:
parameters:
path:
petId: "<id>"
responses:
"200":
application/json: {"id": 763078, "name": "<value>"}
default:
application/json: {"code": 743784, "message": "<value>"}
generatedTests: {}
4 changes: 3 additions & 1 deletion py/.speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@ generation:
requestResponseComponentNamesFeb2024: true
auth:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
python:
version: 0.0.10
version: 0.1.0
additionalDependencies:
dependencies: {}
extraDependencies:
dev: {}
author: Speakeasy
clientServerStatusCodesAsErrors: true
defaultErrorName: SDKError
description: Python Client SDK Generated by Speakeasy
flattenGlobalSecurity: true
imports:
Expand Down
26 changes: 26 additions & 0 deletions py/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Contributing to This Repository

Thank you for your interest in contributing to this repository. Please note that this repository contains generated code. As such, we do not accept direct changes or pull requests. Instead, we encourage you to follow the guidelines below to report issues and suggest improvements.

## How to Report Issues

If you encounter any bugs or have suggestions for improvements, please open an issue on GitHub. When reporting an issue, please provide as much detail as possible to help us reproduce the problem. This includes:

- A clear and descriptive title
- Steps to reproduce the issue
- Expected and actual behavior
- Any relevant logs, screenshots, or error messages
- Information about your environment (e.g., operating system, software versions)
- For example can be collected using the `npx envinfo` command from your terminal if you have Node.js installed

## Issue Triage and Upstream Fixes

We will review and triage issues as quickly as possible. Our goal is to address bugs and incorporate improvements in the upstream source code. Fixes will be included in the next generation of the generated code.

## Contact

If you have any questions or need further assistance, please feel free to reach out by opening an issue.

Thank you for your understanding and cooperation!

The Maintainers
Loading

0 comments on commit 94dec14

Please sign in to comment.