
Product
Introducing Pull Request Stories to Help Security Teams Track Supply Chain Risks
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
@wearefrank/backstage-plugin-openapi2frank
Advanced tools
This backstage plugin generates a Frank from an OpenAPI Spec that can be used in the WeAreFrank! Framework.
Welcome to the OpenAPI2Frank plugin!
This plugin is used to convert OpenAPI specifications to Franks, which can be used in the Frank!Framework.
It generates a zip file containing XML files of the Franks and XSD files for each endpoint of the OpenAPI specification.
This plugin was created through the Backstage CLI
To use this plugin, you need to install it in your project.
yarn add @wearefrank/backstage-plugin-openapi2frank
If this command gives an error, try:
yarn workspace app add @wearefrank/backstage-plugin-openapi2frank
Then, you need to add it to your Backstage instance. You can do this by adding the following to your App.tsx
file:
The App.tsx
file is located at packages/app/src/App.tsx
import { OpenapiAdaptPage } from '@wearefrank/backstage-plugin-openapi2frank';
//<Flatroutes>
<Route path="/openapi-adapter" element={<OpenapiAdaptPage />} />
Add the following proxy to your app-config.yaml
file:
proxy:
endpoints:
'/openapi-frank-generator':
target: https://openapi-frank-generator.wearefrank.org/
credentials: dangerously-allow-unauthenticated
You can add a navigation item to your sidebar by adding the following to your Root.tsx
file located at packages/app/src/components/Root.tsx
,
of course you can change the icon and the text to your liking:
import PublishIcon from '@material-ui/icons/Publish';
// <SidebarGroup label="Menu" icon={<MenuIcon />}>
<SidebarItem icon={PublishIcon} to="openapi-adapter" text="API Converter" />
FAQs
This backstage plugin generates a Frank from an OpenAPI Spec that can be used in the WeAreFrank! Framework.
We found that @wearefrank/backstage-plugin-openapi2frank demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 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.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.