Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@kong-ui-public/spec-renderer
Advanced tools
A Kong UI component for displaying and filtering API specs
A Kong UI component for displaying and filtering API specs
vue
must be initialized in the host application@kong/kongponents
must be available as a dependency
in the host application, along with the package's style imports. See here for instructions on installing Kongponents. Specifically, the following Kongponents must be available:
KBadge
KCollapse
KIcon
KInput
Install the component in your host application
yarn add @kong-ui-public/spec-renderer
You can register spec-renderer
locally. In order to support proper tree-shaking in the host application, please only import and register the components in the page/component where they are being utilized.
<!-- Local registration -->
<template>
<SpecRenderer />
<SpecOperationsList />
<SpecDetails />
</template>
<script setup lang="ts">
// Only import the components you need
import { SpecRenderer, SpecOperationsList, SpecDetails } from '@kong-ui-public/spec-renderer'
// CSS import required for ANY of the components
import '@kong-ui-public/spec-renderer/dist/style.css'
</script>
The SpecRenderer
component is a combination of two subcompoents, SpecOperationsList
and SpecDetails
which are exported for individual use if desired.
SpecRenderer
See the component documentation.
SpecOperationsList
See the component documentation.
SpecDetails
See the component documentation.
FAQs
A Kong UI component for displaying and filtering API specs
The npm package @kong-ui-public/spec-renderer receives a total of 587 weekly downloads. As such, @kong-ui-public/spec-renderer popularity was classified as not popular.
We found that @kong-ui-public/spec-renderer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.