Skip to content

Conversation

spastorelli
Copy link
Contributor

@spastorelli spastorelli commented Aug 27, 2025

This PR aims to adapt the OpenAPI blocks to eval adaptive content expression within an OpenAPI spec and use them to prefill the TryIt dialog with info contained in visitor claims (like API keys, server).

API keys injection in code samples will be implemented in another PR.

Demo

Screen.Recording.2025-08-28.at.17.25.58.mov

Copy link

linear bot commented Aug 27, 2025

Copy link

changeset-bot bot commented Aug 27, 2025

🦋 Changeset detected

Latest commit: 0d0513b

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

This PR includes changesets to release 3 packages
Name Type
@gitbook/react-openapi Minor
gitbook Minor
@gitbook/openapi-parser 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

@spastorelli spastorelli changed the title Adapt OpenAPI block rendering to evaluate adaptive exprs and prefill TryIt configuration Adapt OpenAPI blocks rendering to eval adaptive exprs& prefill TryIt config Aug 27, 2025
@spastorelli spastorelli force-pushed the steeve/rnd-7974-adapt-openapi-block-rendering-to-evaluate-any-gitbook-expr branch from dedc9a9 to 917c193 Compare August 28, 2025 09:29
@spastorelli spastorelli marked this pull request as ready for review August 28, 2025 13:46
@spastorelli spastorelli changed the title Adapt OpenAPI blocks rendering to eval adaptive exprs& prefill TryIt config Adapt OpenAPI to eval adaptive exprs& prefill TryIt config Aug 28, 2025
@spastorelli spastorelli changed the title Adapt OpenAPI to eval adaptive exprs& prefill TryIt config Adapt OpenAPI to eval adaptive exprs & prefill TryIt config Aug 28, 2025
Copy link

argos-ci bot commented Aug 28, 2025

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

Build Status Details Updated (UTC)
customers-v2 (Inspect) 👍 Changes approved 2 changed Aug 29, 2025, 5:25 PM
v2-cloudflare (Inspect) 👍 Changes approved 1 changed Aug 29, 2025, 5:30 PM
v2-vercel (Inspect) 👍 Changes approved 2 changed Aug 29, 2025, 5:28 PM

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