SDK Updates: v1.0.0 - #32
Open
postman[bot] wants to merge 1 commit into
Open
Conversation
postman
Bot
force-pushed
the
sdk-updates
branch
2 times, most recently
from
June 8, 2026 13:11
3c73128 to
cce10e0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SDK updates
Added
.github/workflows/release.ymlworkflow for automated releases to Maven Central (Sonatype). Publishing is enabled by default; the release workflow's first step skips publishing—succeeding, not failing—when the required Maven Central / GPG repository secrets are not all set,publishing.releaseBranchin the generate request selects the trigger branch, and deployment is idempotent on re-runsrawGraphqlandrawGraphqlAsyncmethods for executing arbitrary GraphQL documents with strongly-typed variables and responsesrelease.ymlrelease workflows now publish by default and no longer expose thepublishing.enabledrequest toggle; each workflow's first step skips publishing—succeeding, not failing—when its required registry secret (e.g.NPM_TOKEN,PYPI_API_TOKEN, Maven/GPG) is unset. Go and PHP need no registry secret and always publish (git tag + GitHub release).Authorizationheader per requestChanged
release.ymlrelease workflows now publish by default and no longer expose thepublishing.enabledrequest toggle; each workflow's first step skips publishing—succeeding, not failing—when its required registry secret (e.g.NPM_TOKEN,PYPI_API_TOKEN, Maven/GPG) is unset. Go and PHP need no registry secret and always publish (git tag + GitHub release).Fixed
CatalogObject → CatalogItem → variations[] → CatalogObject) now generate and compile successfully instead of causing a stack overflow during generationcompanies({{companyId}})) are now correctly extracted and made available to generated SDK methodsAuthorizationwhen the resolved name is invalid, preventingHeaders.appendruntime errors in generated SDKshttps://protocol://server/api/versionfrom unresolved Postman variables) now parse correctly; the real base path is recoverable and requests route to the correct endpointAdded
.github/workflows/release.ymlworkflow for automated releases to Maven Central (Sonatype); configure publishing viapublishing.enabledandpublishing.releaseBranchin the generate request, with idempotent deployment handling for re-runsChanged
https?://URL token and falling back gracefully when no URL can be foundFixed
Added
ApiContextservice methods withkind: 'graphql', mapping field arguments tovariablesSchemaand return types to bothresponseDataSchemaand GraphQL-awareresponseEnvelopeSchemafor downstream generatorsFixed
#/paths/~1api~1v2~1warehouses/get/responses/202) now resolve correctly instead of throwing invalid reference errorssdkConfig.inferServiceNames: falseoption now prevents service fragmentation; when disabled, all requests collapse into a single root service named aftersdkName, restoring the flat client surface for collections converted from OpenAPI specsinfield (Postman implicitly defaults toheader; SDKs were previously selecting the wrong scheme from the spec)AcceptandContent-Typeas method parameters; both are transport-layer headers managed by the SDK itself, and exposing them (especially Postman's defaultAccept: application/json) caused 406 NotAcceptable errors against endpoints with different declared response typesAcceptorContent-Typeas header parameters no longer surface them as method parameters, bringing the generator into compliance with OpenAPI 3.0 §4.7.12.1application/json; JSON examples with unparseable bodies (e.g. placeholder strings) are downgraded totext/plainto match postman2openapi's inferenceContent-Type: application/jsonheaders on multipart and urlencoded requests (common on image uploads and form submissions) now generate SDKs that send the correct content type; the generator now followsbody.modeinstead of request-level headers for these casesinstance: 'instance (Instance name)',endpoint: 'https://api.example.com (Domain of your API)') now generate SDKs with correct URLs and method signatures; the postman-mapper strips trailing(description)annotations, drops self-referential placeholder values that would otherwise inline as constant URL segments instead of path parameters, and defensively coerces non-string variable values (numbers, booleans, null)Security
Fixed
Fixed
https://{{subdomain}}.api.example.com) no longer fail during client initialization with URI parsing errorsFeatures
Bug Fixes
Spec changes
Your Java SDK has been generated for the first time from your spec.