Socket
Book a DemoInstallSign in
Socket

@wearefrank/backstage-plugin-openapi2frank

Package Overview
Dependencies
Maintainers
6
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wearefrank/backstage-plugin-openapi2frank

This backstage plugin generates a Frank from an OpenAPI Spec that can be used in the WeAreFrank! Framework.

2.1.0
latest
Source
npmnpm
Version published
Maintainers
6
Created
Source

OpenAPI2Frank

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

Getting started

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" />

Keywords

OpenAPI

FAQs

Package last updated on 03 Feb 2025

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.