Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
@kyma-project/asyncapi-react
Advanced tools
A official React component for AsyncAPI 2.0 specification. It allows you to render the documentation of your asynchronous API provided in the AsyncAPI specification format and validate this specification. You can fully restyle the component using your own styles.
CAUTION: This package only supports AsyncAPI 2.0 specification. If you use 1.x, we recommend that you upgrade to the latest AsyncAPI version using the Node.js or Go converters.
This repository comes in with a Playground application. Test it to see the component in action and play with it before you use it in your application.
You can also run the Playground application locally by following this instruction from the development guide.
react
(version 16.8.0 or higher)Run this command to install the component in your project:
npm install --save @kyma-project/asyncapi-react
Check out this simple sandbox application that uses the asyncapi-react component:
The list of props for the AsyncAPI React component includes:
schema: string | AsyncApiInterface | FetchingSchemaInterface
The schema
property is required and contains AsyncAPI specification. Use the string
type, the AsyncApiInterface
type, or the FetchingSchemaInterface
object to fetch the schema from an external resource. For more information on what it contains and what it should look like, read AsyncAPI Specification.
config?: Partial<ConfigInterface>
The config
property is optional and contains configuration for the AsyncAPI component. For more information on the available configuration options, read the Configuration Modification document.
This property is concatenated with the default configuration.
NOTE: The
Partial<T>
type means that every field in theT
type is optional.
For a list and description of features offered by the AsyncAPI React component, see this directory.
To use default styles based on SAP Fundamentals, import them as follows:
import "@kyma-project/asyncapi-react/lib/styles/fiori.css";
For information on how to change styles, read the Style Modification document.
For information on how to set up a development environment, write and run tests, follow the naming and architecture convention defined for the project in the Development Guide.
For information on how to release a new version of the library or the playground application, or details on creating a changelog file, read the Releasing document.
If you have a feature request, add it as an issue or propose changes in a pull request (PR).
If you create a feature request, use the dedicated Feature request issue template. When you create a PR, follow the contributing rules described in the CONTRIBUTING.md
document.
If you have a bug to report, reproduce it in an online code editor. For example, use CodeSandbox. Attach the link to the reproduced bug to your issue. Log the bug using the Bug report template.
See the list of features that are still missing in the component:
bindings
tags
externalDocs
schema properties
correlationID
If you want to help us develop them, feel free to contribute.
Thanks goes to these wonderful people (emoji key):
Maciej Urbańczyk 💻 📖 🤔 🚧 👀 ⚠️ | Karolina Zydek 📖 👀 🚧 | Agata 💻 🚧 | Lukasz Gornicki 📖 💡 🤔 | Mateusz Puczyński 💻 📖 🤔 🚧 👀 ⚠️ |
This project follows the all-contributors specification. Contributions of any kind welcome!
FAQs
A React component for AsyncAPI specification.
The npm package @kyma-project/asyncapi-react receives a total of 8 weekly downloads. As such, @kyma-project/asyncapi-react popularity was classified as not popular.
We found that @kyma-project/asyncapi-react demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.