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
  •  
  •  
  •  
6 changes: 1 addition & 5 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,5 @@
# Linux start script should use lf
/gradlew text eol=lf

# These are Windows script files and should use crlf
*.bat text eol=crlf

# This allows generated code to be indexed correctly
*.java linguist-generated=false

*.java linguist-generated=false
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
**/.speakeasy/temp/
**/.speakeasy/logs/
.speakeasy/reports
.env
.env.local
# Ignore Gradle project-specific cache directory
.gradle
# Ignore Gradle build output directory
Expand Down
6,425 changes: 5,319 additions & 1,106 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

40 changes: 39 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,60 @@ generation:
maintainOpenAPIOrder: true
usageSnippets:
optionalPropertyRendering: withExample
sdkInitStyle: constructor
useClassNamesForArrayFields: true
fixes:
nameResolutionDec2023: true
nameResolutionFeb2025: false
parameterOrderingFeb2024: true
requestResponseComponentNamesFeb2024: true
securityFeb2025: false
sharedErrorComponentsApr2025: false
sharedNestedComponentsJan2026: false
nameOverrideFeb2026: false
auth:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
hoistGlobalSecurity: true
schemas:
allOfMergeStrategy: shallowMerge
requestBodyFieldName: ""
versioningStrategy: automatic
persistentEdits: {}
tests:
generateTests: true
generateNewTests: false
skipResponseBodyAssertions: false
java:
version: 1.0.0-beta
version: 1.0.0-beta.1
additionalDependencies: []
additionalPlugins:
- id 'org.jreleaser' version '1.15.0'
artifactID: shippo-sdk
baseErrorName: ShippoException
clientServerStatusCodesAsErrors: true
companyEmail: support@shippo.com
companyName: Shippo
companyURL: www.goshippo.com
defaultErrorName: SDKError
enableCustomCodeRegions: false
enableFormatting: false
enableSlf4jLogging: false
enableStreamingUploads: false
explicitDocImports: false
externalDocs:
url: https://github.com/goshippo/shippo-java-sdk
version: ""
flattenGlobalSecurity: true
forwardCompatibleEnumsByDefault: false
forwardCompatibleUnionsByDefault: true
generateOptionalUnionAccessors: false
generateSpringBootStarter: true
generateUnionDocs: false
getterStyle: presence-aware
githubURL: https://github.com/goshippo/shippo-java-sdk
groupID: com.goshippo
httpClient: jdk
imports:
option: openapi
paths:
Expand All @@ -37,15 +66,24 @@ java:
operations: models/operations
shared: models/components
webhooks: models/webhooks
inferUnionDiscriminators: false
info:
descriptions: Maven library which integrates with Shippo Multi Carrier Shipping API. This library provides access to Shippo (goshippo.com) API capabilities. Including label generation, rating, tracking and more.
version: ""
inputModelSuffix: input
languageVersion: 11
license:
name: The MIT License (MIT)
shortName: MIT
url: https://mit-license.org/
maxMethodParams: 4
multipartArrayFormat: legacy
nullFriendlyParameters: false
operationScopedParams: true
outputModelSuffix: output
prefixModeMethodNames: false
projectName: api
respectTitlesForPrimitiveUnionMembers: false
showSetterGetterTypesInDocs: false
templateVersion: v2
unionStrategy: populated-fields
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
speakeasyVersion: 1.448.2
speakeasyVersion: 1.796.4
sources:
my-first-source:
sourceNamespace: my-first-source
sourceRevisionDigest: sha256:480494c08f99f68cd119fdb481d81d31d37e4e22211cc6fd8a5197857b7580b4
sourceBlobDigest: sha256:422c969f0c8ded72f1dc9d756407a9d51740270b9d16fd9c4f4a9d50f4e714ba
sourceRevisionDigest: sha256:132ef634dc347fc1ff68427d498eaffb2645dbc6fd08be9e88015db3feb4fd17
sourceBlobDigest: sha256:c88cadbe4c138132ebe2daaea1ae6b41891c52d7146702f5652c3139fc4abeb9
tags:
- latest
- "2018-02-08"
targets:
my-first-target:
source: my-first-source
sourceNamespace: my-first-source
sourceRevisionDigest: sha256:480494c08f99f68cd119fdb481d81d31d37e4e22211cc6fd8a5197857b7580b4
sourceBlobDigest: sha256:422c969f0c8ded72f1dc9d756407a9d51740270b9d16fd9c4f4a9d50f4e714ba
sourceRevisionDigest: sha256:132ef634dc347fc1ff68427d498eaffb2645dbc6fd08be9e88015db3feb4fd17
sourceBlobDigest: sha256:c88cadbe4c138132ebe2daaea1ae6b41891c52d7146702f5652c3139fc4abeb9
codeSamplesNamespace: my-first-source-java-code-samples
codeSamplesRevisionDigest: sha256:2b960672ec02abfbb6692e804ee954c218ece797c765654fab7f71084709ef08
codeSamplesRevisionDigest: sha256:025a840913d6aa20c07674c41904a2223be9f9f187812b7b05e491ed503260e3
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
1 change: 0 additions & 1 deletion .speakeasy/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ targets:
source: my-first-source
publish:
java:
useSonatypeLegacy: false
ossrhUsername: $ossrh_username
ossrhPassword: $ossrh_password
gpgSecretKey: $java_gpg_secret_key
Expand Down
Loading
Loading