It has been generated successfully based on your OpenAPI spec. However, it is not yet ready for production use. Here are some next steps:
- 🛠 Make your SDK feel handcrafted by customizing it
- ♻️ Refine your SDK quickly by iterating locally with the Speakeasy CLI
- 🎁 Publish your SDK to package managers by configuring automatic publishing
- ✨ When ready to productionize, delete this section from the README
go get github.com/speakeasy-sdks-staging/chase-test-4-sample-sdk
package main
import (
"context"
chasetest4samplesdk "github.com/speakeasy-sdks-staging/chase-test-4-sample-sdk"
"github.com/speakeasy-sdks-staging/chase-test-4-sample-sdk/pkg/models/operations"
"github.com/speakeasy-sdks-staging/chase-test-4-sample-sdk/pkg/models/shared"
"log"
)
func main() {
s := chasetest4samplesdk.New(
chasetest4samplesdk.WithSecurity(""),
)
ctx := context.Background()
res, err := s.Apis.GetApis(ctx, operations.GetApisRequest{
Metadata: map[string][]string{
"key": []string{
"string",
},
},
Op: &operations.GetApisOp{
And: false,
},
})
if err != nil {
log.Fatal(err)
}
if res.Apis != nil {
// handle response
}
}
- DeleteAPIEndpoint - Delete an ApiEndpoint.
- FindAPIEndpoint - Find an ApiEndpoint via its displayName.
- GenerateOpenAPISpecForAPIEndpoint - Generate an OpenAPI specification for a particular ApiEndpoint.
- GeneratePostmanCollectionForAPIEndpoint - Generate a Postman collection for a particular ApiEndpoint.
- GetAllAPIEndpoints - Get all Api endpoints for a particular apiID.
- GetAllForVersionAPIEndpoints - Get all ApiEndpoints for a particular apiID and versionID.
- GetAPIEndpoint - Get an ApiEndpoint.
- UpsertAPIEndpoint - Upsert an ApiEndpoint.
- DeleteAPI - Delete an Api.
- GenerateOpenAPISpec - Generate an OpenAPI specification for a particular Api.
- GeneratePostmanCollection - Generate a Postman collection for a particular Api.
- GetAllAPIVersions - Get all Api versions for a particular ApiEndpoint.
- GetApis - Get a list of Apis for a given workspace
- UpsertAPI - Upsert an Api
- GetEmbedAccessToken - Get an embed access token for the current workspace.
- GetValidEmbedAccessTokens - Get all valid embed access tokens for the current workspace.
- RevokeEmbedAccessToken - Revoke an embed access EmbedToken.
- DeleteVersionMetadata - Delete metadata for a particular apiID and versionID.
- GetVersionMetadata - Get all metadata for a particular apiID and versionID.
- InsertVersionMetadata - Insert metadata for a particular apiID and versionID.
- GenerateRequestPostmanCollection - Generate a Postman collection for a particular request.
- GetRequestFromEventLog - Get information about a particular request.
- QueryEventLog - Query the event log to retrieve a list of requests.
- DeleteSchema - Delete a particular schema revision for an Api.
- DownloadSchema - Download the latest schema for a particular apiID.
- DownloadSchemaRevision - Download a particular schema revision for an Api.
- GetSchema - Get information about the latest schema.
- GetSchemaDiff - Get a diff of two schema revisions for an Api.
- GetSchemaRevision - Get information about a particular schema revision for an Api.
- GetSchemas - Get information about all schemas associated with a particular apiID.
- RegisterSchema - Register a schema.
This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally looking for the latest version.
While we value open-source contributions to this SDK, this library is generated programmatically. Feel free to open a PR or a Github issue as a proof of concept and we'll do our best to include it in a future release!