Skip to content

Revert "update auth openapi spec"#284

Closed
nikita-seedlabs wants to merge 1 commit intomainfrom
revert-283-nikita/auth-api-spec-refactor
Closed

Revert "update auth openapi spec"#284
nikita-seedlabs wants to merge 1 commit intomainfrom
revert-283-nikita/auth-api-spec-refactor

Conversation

@nikita-seedlabs
Copy link
Contributor

Reverts #283

Copilot AI review requested due to automatic review settings March 19, 2026 18:04
@nikita-seedlabs
Copy link
Contributor Author

Closing, since we bumped up the sdk versions, so better to manually revert the auth yaml and bump version again

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Reverts the prior “update auth openapi spec” change set by consolidating auth schemas back into resources/auth-api.yaml, removing the split-out auth-common.yaml, and rolling generated SDK artifacts/versions back to the previous release line.

Changes:

  • Remove resources/auth-common.yaml and inline its shared DefaultError response and LoginResponse schema into resources/auth-api.yaml, updating $refs accordingly.
  • Revert SDK/package versioning from 1.16.0 to 1.15.0 across Rust + Python + TS (and regenerate affected client artifacts).
  • Remove legacy generation/version-bump tooling (Makefile, scripts/version_bump.py) and update .apigen-state to match the reverted spec set.

Reviewed changes

Copilot reviewed 34 out of 35 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
ts/sdk/src/.openapi-generator-ignore Adjusts TS generator ignore list (revert-related).
ts/sdk/package.json Reverts published TS package version to 1.15.0.
ts/sdk/openapitools.json Updates TS generator config version field (currently inconsistent with repo versions/tooling).
scripts/version_bump.py Removes the Python-based version bump script.
rust/gen/config.yaml Reverts Rust generator packageVersion to 1.15.0.
rust/gen/bluefin_api/src/models/post_create_order_202_response.rs Adds regenerated Rust model for create-order 202 response.
rust/gen/bluefin_api/src/models/ping_response.rs Adds regenerated Rust model for ping response.
rust/gen/bluefin_api/src/models/ping_request.rs Adds regenerated Rust model for ping request.
rust/gen/bluefin_api/src/models/get_rewards_interval_metadata_interval_parameter.rs Adds regenerated Rust model enum for interval parameter.
rust/gen/bluefin_api/src/models/create_order_request_twap_config.rs Adds regenerated Rust model for TWAP config.
rust/gen/bluefin_api/src/models/campaign_rewards.rs Adds regenerated Rust model for campaign rewards.
rust/gen/bluefin_api/src/models/affiliate_metadata_fees.rs Adds regenerated Rust model for affiliate fees metadata.
rust/gen/bluefin_api/docs/PostCreateOrder202Response.md Adds regenerated Rust docs for the new model.
rust/gen/bluefin_api/docs/PingResponse.md Adds regenerated Rust docs for the new model.
rust/gen/bluefin_api/docs/PingRequest.md Adds regenerated Rust docs for the new model.
rust/gen/bluefin_api/docs/GetRewardsIntervalMetadataIntervalParameter.md Adds regenerated Rust docs for the new enum.
rust/gen/bluefin_api/docs/CreateOrderRequestTwapConfig.md Adds regenerated Rust docs for TWAP config.
rust/gen/bluefin_api/docs/CampaignRewards.md Adds regenerated Rust docs for campaign rewards.
rust/gen/bluefin_api/docs/AffiliateMetadataFees.md Adds regenerated Rust docs for affiliate fees metadata.
rust/gen/bluefin_api/README.md Updates generated Rust client README version to 1.15.0.
rust/gen/bluefin_api/Cargo.toml Reverts generated Rust crate version to 1.15.0.
rust/gen/bluefin_api/.openapi-generator/FILES Updates generated file manifest to match regenerated Rust output.
rust/Cargo.toml Reverts workspace dependency on bluefin_api to 1.15.0.
resources/auth-common.yaml Deletes the split-out auth common spec file (reverted).
resources/auth-api.yaml Inlines shared auth response/schema and updates $refs after removing auth-common.yaml.
python/sdk/src/openapi_client_README.md Updates generated Python client README version to 1.15.0.
python/sdk/src/openapi_client/configuration.py Updates debug report string to 1.15.0.
python/sdk/src/openapi_client/api_client.py Updates generated User-Agent version to 1.15.0.
python/sdk/src/openapi_client/init.py Updates generated Python client __version__ to 1.15.0.
python/sdk/src/.openapi-generator-ignore Removes ignore entries for hand-written Python SDK wrapper files.
python/sdk/pyproject.toml Reverts Python package version to 1.15.0.
python/sdk/config.yaml Reverts Python generator packageVersion to 1.15.0.
Makefile Removes legacy Makefile-based generation workflow.
.gitignore Removes ignores for .zed and .DS_Store.
.apigen-state Reverts spec hash state to match the reverted spec set (removes auth-common.yaml entry).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 9 to 12
"modelPropertyNaming": "camelCase",
"npmName": "@bluefin/api-client",
"npmVersion": "1.16.0",
"npmVersion": "1.2.0",
"nullSafeAdditionalProps": true,
Comment on lines 10 to 12
"npmName": "@bluefin/api-client",
"npmVersion": "1.16.0",
"npmVersion": "1.2.0",
"nullSafeAdditionalProps": true,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants