Skip to content

Conversation

@sk-
Copy link
Contributor

@sk- sk- commented Jan 2, 2026

In this Pr we address some of the issues detected by the same vacuu config we are using for our other API spec.

In particular, we:

  • add missing description to /auctions/sponsored-brand
  • remove EptyAuctionResult as this was not necessary
  • specify the resultType in AuctionResult schemas, this fixes all the invalid examples

Note

Streamlines and validates the OpenAPI spec with stricter discriminators and cleanup.

  • Removes EmptyAuctionResult schema and its references from AuctionResult and TravelAuctionResult mappings
  • Enforces explicit resultType const values in BannersAuctionResult, SponsoredListingsAuctionResult, HotelsAuctionResult, and FlightsAuctionResult
  • Defines HotelsAuctionResult explicitly (instead of referencing listings result)
  • Switches travel request type fields to const (hotels, flights) instead of single-value enums
  • Adds a missing description to /v2/auctions/sponsored-brand endpoint

Written by Cursor Bugbot for commit fa49c70. This will update automatically on new commits. Configure here.

In this Pr we address some of the issues detected by the same vacuu config we are using for our other API spec.

In particular, we:
- add missing description to /auctions/sponsored-brand
- remove EptyAuctionResult as this was not necessary
- specify the resultType in AuctionResult schemas, this fixes all the invalid examples
@sk- sk- marked this pull request as ready for review January 2, 2026 11:22
@sk- sk- requested a review from a team as a code owner January 2, 2026 11:22
@sk- sk- requested a review from rodrhern-topsort January 2, 2026 11:23
@sk-
Copy link
Contributor Author

sk- commented Jan 8, 2026

@rodrhern-topsort please take a look

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