Skip to content

Conversation

zenoachtig
Copy link
Contributor

Previously empty (status code only) responses could not be clicked to expand. This was good behaviour, but prevented users from seeing the entire response code description. The only way to see the response description was to choose it from the examples on the right.

Screenshot 2025-08-27 at 15 10 04

Now, each item is expandable, but if a response is empty it uses the same "no content" display that we use in the response example on the right.

Screenshot 2025-08-27 at 15 21 32

Also made the active response font-medium so it stands out slightly more when open.

Copy link

linear bot commented Aug 27, 2025

Copy link

changeset-bot bot commented Aug 27, 2025

🦋 Changeset detected

Latest commit: 549ec7f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@gitbook/react-openapi Patch
gitbook Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@zenoachtig zenoachtig enabled auto-merge (squash) August 27, 2025 13:27
Copy link

argos-ci bot commented Aug 27, 2025

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
customers-v2 (Inspect) 👍 Changes approved 1 changed Aug 27, 2025, 1:31 PM
v2-cloudflare (Inspect) 👍 Changes approved 1 changed Aug 27, 2025, 1:36 PM
v2-vercel (Inspect) 👍 Changes approved 3 changed Aug 27, 2025, 1:33 PM

@zenoachtig zenoachtig merged commit 61b8507 into main Aug 27, 2025
15 of 16 checks passed
@zenoachtig zenoachtig deleted the zeno/rnd-7997-make-responses-without-objects-clickable-in-apis branch August 27, 2025 13:38
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.

2 participants