Skip to content

feat!: remove GET /pets/{petId} endpoint#2

Merged
omermorad merged 9 commits intomainfrom
remove-species-enum
Mar 28, 2026
Merged

feat!: remove GET /pets/{petId} endpoint#2
omermorad merged 9 commits intomainfrom
remove-species-enum

Conversation

@omermorad
Copy link
Copy Markdown
Contributor

Summary

Remove the individual pet lookup endpoint to simplify the API.

Changes

🚨 BREAKING CHANGE: Removed GET /pets/{petId} endpoint

Impact

  • Suggests major version bump: v1.1.0 → v2.0.0
  • Clients relying on individual pet lookups will need to use the list endpoint with filtering

Changeset

✅ Changeset included: .contractual/changesets/eager-wolves-prowl.md

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 28, 2026

Contract Check Results


Lint

All contracts pass validation.


Changes

Contract Breaking Non-breaking Patch Suggested Bump
petstore 1 1 0 major
petstore — 2 change(s)

Breaking Changes:

  • remove path at paths./pets/{petId} paths./pets/{petId}

Non-breaking Changes:

  • add response status-code at paths./pets.get.responses.400 paths./pets.get.responses.400

Changeset

Changeset found in this PR.

@omermorad omermorad merged commit f475768 into main Mar 28, 2026
1 check failed
@omermorad omermorad deleted the remove-species-enum branch March 28, 2026 04:31
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.

1 participant