Skip to content

Add OpenAPI write-only indicator #3059

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Mar 27, 2025
Merged

Conversation

nolannbiron
Copy link
Member

@nolannbiron nolannbiron commented Mar 27, 2025

CleanShot 2025-03-27 at 16 40 10@2x

Copy link

changeset-bot bot commented Mar 27, 2025

🦋 Changeset detected

Latest commit: a5eda00

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

Copy link
Contributor

github-actions bot commented Mar 27, 2025

Copy link

argos-ci bot commented Mar 27, 2025

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

Build Status Details Updated (UTC)
customers-v1 (Inspect) ✅ No changes detected - Mar 27, 2025, 5:04 PM
customers-v2 (Inspect) ✅ No changes detected - Mar 27, 2025, 5:05 PM
default (Inspect) 👍 Changes approved 2 changed Mar 27, 2025, 5:07 PM
v2-vercel (Inspect) ✅ No changes detected - Mar 27, 2025, 5:07 PM

Copy link
Contributor

@Copilot 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

This PR adds support for a write-only indicator in the OpenAPISchemaName component.

  • Added conditional rendering of a "write-only" badge in the OpenAPISchemaName component.
  • Updated the changeset file to document the new patch level.

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
packages/react-openapi/src/OpenAPISchemaName.tsx Added write-only indicator rendering logic.
.changeset/nasty-radios-brake.md Updated changeset documentation for patch level.
Files not reviewed (1)
  • packages/gitbook/src/components/DocumentView/OpenAPI/style.css: Language not supported

@nolannbiron nolannbiron merged commit 61db166 into main Mar 27, 2025
18 checks passed
@nolannbiron nolannbiron deleted the nolann/improve-openapi-schema branch March 27, 2025 17:21
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