Skip to content

Conversation

steven-noorbergen
Copy link

What

This inserts a NodeVendorExtensions into the HttpService component, allowing one to render information based on extensions put on the root node.

Why

We are working on replacing our Swagger UI with Elements. While we are extremely impressed with Elements, we wanted to put some extension information in our Overview page, but the HttpService never calls NodeVendorExtensions to allow this.

Impact

This reuses existing flows, so the addons you pass to renderExtensionAddon will automatically get called if/when you add extensions to the root of your spec document. If none are set - which I expect the majority of users will have, NodeVendorExtensions doesn't render, keeping original behavior.

Elements Default PR Template

In general, make sure you have: (check the boxes to acknowledge you've followed this template)

Other Available PR Templates:

@steven-noorbergen steven-noorbergen requested a review from a team as a code owner July 9, 2025 09:07
@steven-noorbergen steven-noorbergen requested a review from bgriffn July 9, 2025 09:07
Copy link

netlify bot commented Jul 9, 2025

Deploy Preview for stoplight-elements ready!

Name Link
🔨 Latest commit 898ea64
🔍 Latest deploy log https://app.netlify.com/projects/stoplight-elements/deploys/686ef21f4dc61b00084a9e92
😎 Deploy Preview https://deploy-preview-2815--stoplight-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

netlify bot commented Jul 9, 2025

Deploy Preview for stoplight-elements-demo ready!

Name Link
🔨 Latest commit 898ea64
🔍 Latest deploy log https://app.netlify.com/projects/stoplight-elements-demo/deploys/686ef21f2929a80008c9107b
😎 Deploy Preview https://deploy-preview-2815--stoplight-elements-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@steven-noorbergen steven-noorbergen force-pushed the add-overview-vendor-extensions branch from 2db7d5e to 898ea64 Compare July 9, 2025 22:50
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