Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
43 changes: 26 additions & 17 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
java:
version: 0.13.0
version: 0.14.0
additionalDependencies: []
additionalPlugins: []
artifactID: stackone-client-java
Expand All @@ -36,6 +36,7 @@ java:
enableCustomCodeRegions: false
enableStreamingUploads: false
flattenGlobalSecurity: true
generateSpringBootStarter: true
githubURL: github.com/owner/repo
groupID: com.stackone
imports:
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.615.2
speakeasyVersion: 1.628.7
sources:
StackOne-OAS:
sourceNamespace: stackone-oas
sourceRevisionDigest: sha256:da3083ac792d917c27cf65deb1bf028544d89283513da6447435f179f6953b71
sourceBlobDigest: sha256:a9174deff25e6d539e59ba5938fb9517b864382c255b2c9c20976d3bc1330d97
sourceRevisionDigest: sha256:28e6c31f912986a62601f20ab841bf9579ee1847ff3db2ec32c4bc04a5d8ad35
sourceBlobDigest: sha256:8566c4e4fe678ace043de0030c0e5e87eee2446c72db806793e30415faf61d6f
tags:
- latest
- speakeasy-sdk-regen-1757117150
- speakeasy-sdk-regen-1757981164
- 1.0.0
targets:
stackone:
source: StackOne-OAS
sourceNamespace: stackone-oas
sourceRevisionDigest: sha256:da3083ac792d917c27cf65deb1bf028544d89283513da6447435f179f6953b71
sourceBlobDigest: sha256:a9174deff25e6d539e59ba5938fb9517b864382c255b2c9c20976d3bc1330d97
sourceRevisionDigest: sha256:28e6c31f912986a62601f20ab841bf9579ee1847ff3db2ec32c4bc04a5d8ad35
sourceBlobDigest: sha256:8566c4e4fe678ace043de0030c0e5e87eee2446c72db806793e30415faf61d6f
codeSamplesNamespace: stack-one-oas-java-code-samples
codeSamplesRevisionDigest: sha256:858843c112688ddd74f90e7766d6fbea7a293bafed566b2440fff80c9f00de41
codeSamplesRevisionDigest: sha256:f762e789392f6c3f8a23d42a44b3272da3989f4832c44dee0cedc3cc3b742f48
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'com.stackone:stackone-client-java:0.13.0'
implementation 'com.stackone:stackone-client-java:0.14.0'
```

Maven:
```xml
<dependency>
<groupId>com.stackone</groupId>
<artifactId>stackone-client-java</artifactId>
<version>0.13.0</version>
<version>0.14.0</version>
</dependency>
```

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,4 +218,14 @@ Based on:
### Generated
- [java v0.13.0] .
### Releases
- [Maven Central v0.13.0] https://central.sonatype.com/artifact/com.stackone/stackone-client-java/0.13.0 - .
- [Maven Central v0.13.0] https://central.sonatype.com/artifact/com.stackone/stackone-client-java/0.13.0 - .

## 2025-09-26 00:05:51
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.628.7 (2.716.9) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.14.0] .
### Releases
- [Maven Central v0.14.0] https://central.sonatype.com/artifact/com.stackone/stackone-client-java/0.14.0 - .
152 changes: 63 additions & 89 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

////////////////////////////////////////////////////////////////////////////////////////////
// This file is generated by Speakeasy and any edits will be lost in generation updates.
//
Expand All @@ -9,12 +8,15 @@
// of string where each string value is an additional line in the block) in gen.yaml.
////////////////////////////////////////////////////////////////////////////////////////////


plugins {
// Apply the java-library plugin for API and implementation separation.
id 'java-library'
id 'maven-publish'
id 'signing'
// V2 publishing plugin (Sonatype Central Portal)
id 'cl.franciscosolis.sonatype-central-upload' version '1.0.3'
id "io.spring.dependency-management" version "1.1.6" apply false
}

compileJava.options.encoding = "UTF-8"
Expand All @@ -31,21 +33,18 @@ java {
withJavadocJar()
}

model {
tasks.generatePomFileForMavenPublication {
destination = file("$buildDir/pom.xml")
}
}

version = "${version}"
group = "${groupId}"

jar {
dependsOn(":generatePomFileForMavenPublication")
dependsOn 'generatePomFileForMavenPublication'
archiveBaseName = "${artifactId}"

into("META-INF/maven/com.stackone/stackone-client-java") {
from("$buildDir/pom.xml")
from(layout.buildDirectory.file("pom.xml")) {
// Only include if it exists to avoid build ordering issues
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}
}
}

Expand All @@ -58,7 +57,7 @@ javadoc {
options.addStringOption('Xdoclint:none', '-quiet')
}

tasks.withType(Javadoc) {
tasks.withType(Javadoc).configureEach {
failOnError = false
options.addStringOption('Xdoclint:none', '-quiet')
}
Expand All @@ -74,85 +73,6 @@ sourcesJar {
javadocJar {
archiveBaseName = "${artifactId}"
}
sonatypeCentralUpload {
// This is your Sonatype generated username
username = System.getenv("SONATYPE_USERNAME")
// This is your sonatype generated password
password = System.getenv("SONATYPE_PASSWORD")

// This is a list of files to upload. Ideally you would point to your jar file, source and javadoc jar (required by central)
archives = files(
"$buildDir/libs/${artifactId}-${version}.jar",
"$buildDir/libs/${artifactId}-${version}-sources.jar",
"$buildDir/libs/${artifactId}-${version}-javadoc.jar"
)

// This is the pom file to upload. This is required by central
pom = file("$buildDir/pom.xml")

// This is your PGP private key. This is required to sign your files
signingKey = System.getenv("SONATYPE_SIGNING_KEY")
// This is your PGP private key passphrase to decrypt your private key
signingKeyPassphrase = System.getenv("SIGNING_KEY_PASSPHRASE")
}


publishing {

publications {
maven(MavenPublication) {
// note that properties can't yet be used below!
// https://github.com/gradle/gradle/issues/18619
groupId = "com.stackone"
artifactId = "stackone-client-java"
version = "0.13.0"

from components.java

pom {
properties = [
'maven.compiler.source': '11',
'maven.compiler.target': '11',
]
name = 'StackOne Java SDK'
description = 'SDK enabling Java developers to easily integrate with the StackOne API.'
url = 'https://github.com/owner/repo'
scm {
url = 'github.com/owner/repo'
connection = 'scm:git:ssh://[email protected]/owner/repo.git'
}
licenses {
license {
name = 'The MIT License (MIT)'
url = 'https://mit-license.org/'
}
}
developers {
developer {
name = 'StackOne'
organization = 'StackOne'
email = '[email protected]'
}
}
organization {
name = 'StackOne'
url = 'www.stackone.com'
}
}
}
}
}

if (!project.hasProperty('skip.signing')) {
signing {
def signingKey = findProperty("signingKey")
def signingPassphrase = findProperty("signingPassphrase")
useInMemoryPgpKeys(signingKey, signingPassphrase)
sign publishing.publications.maven
}
}



dependencies {
api 'com.fasterxml.jackson.core:jackson-annotations:2.18.2'
Expand All @@ -165,4 +85,58 @@ dependencies {
api 'org.reactivestreams:reactive-streams:1.0.4'
}

ext {
springBootVersion = '2.7.18'
}

subprojects {
if (name in [
'stackone-client-java-spring-boot-autoconfigure',
'stackone-client-java-spring-boot-starter'
]) {
// Ensure subprojects use the same group and version as root project
group = rootProject.group
version = rootProject.version

apply {
plugin "java-library"
plugin "io.spring.dependency-management"
plugin "maven-publish"
plugin "signing"
plugin "cl.franciscosolis.sonatype-central-upload"
}
dependencyManagement {
imports {
mavenBom "org.springframework.boot:spring-boot-dependencies:${rootProject.springBootVersion}"
}
}
repositories {
mavenCentral()
}
java {
withSourcesJar()
withJavadocJar()
}
tasks.withType(JavaCompile).configureEach {
options.release = 11
}

// Apply publishing configuration to all subprojects - they'll check for publishingConfig internally
apply from: rootProject.file('publishing.gradle')
}
}

ext {
publishingConfig = [
groupId: group,
artifactId: artifactId,
version: version,
name: "StackOne Java SDK",
description: "SDK enabling Java developers to easily integrate with the StackOne API.",
publicationName: "maven"
]
}

apply from: 'publishing.gradle'

apply from: 'build-extras.gradle'
3 changes: 2 additions & 1 deletion docs/models/components/ActionMetaItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
| Field | Type | Required | Description |
| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| `id` | *JsonNullable\<String>* | :heavy_minus_sign: | The action ID |
| `name` | *JsonNullable\<String>* | :heavy_minus_sign: | The action name |
| `label` | *JsonNullable\<String>* | :heavy_minus_sign: | The action label |
| `description` | *JsonNullable\<String>* | :heavy_minus_sign: | The action description |
| `schemaType` | *JsonNullable\<String>* | :heavy_minus_sign: | The schema type for the action |
| `tags` | List\<*String*> | :heavy_minus_sign: | The tags associated with this action |
| `authentication` | List\<[AuthenticationMetaItem](../../models/components/AuthenticationMetaItem.md)> | :heavy_minus_sign: | The authentication methods supported by this action |
| `operationDetails` | Map\<String, *Object*> | :heavy_minus_sign: | The operation details for the action |
11 changes: 7 additions & 4 deletions docs/models/components/ActionsRpcRequestDto.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@

## Fields

| Field | Type | Required | Description | Example |
| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- |
| `action` | *String* | :heavy_check_mark: | The action to execute | create_employee |
| `input` | [JsonNullable\<Input>](../../models/components/Input.md) | :heavy_minus_sign: | Input parameters for the action | |
| Field | Type | Required | Description | Example |
| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ |
| `action` | *String* | :heavy_check_mark: | The action to execute | create_employee |
| `path` | Map\<String, *Object*> | :heavy_minus_sign: | Path parameters for the action | {<br/>"id": "123"<br/>} |
| `query` | Map\<String, *Object*> | :heavy_minus_sign: | Query parameters for the action | {<br/>"param1": "value1",<br/>"param2": "value2"<br/>} |
| `headers` | Map\<String, *Object*> | :heavy_minus_sign: | Headers for the action | {<br/>"Content-Type": "application/json"<br/>} |
| `body` | Map\<String, *Object*> | :heavy_minus_sign: | Request body for the action | {<br/>"data": "example"<br/>} |
Loading