• Stars
    star
    301
  • Rank 138,451 (Top 3 %)
  • Language
    JavaScript
  • License
    Apache License 2.0
  • Created over 3 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

OpenAPI Web component to generate a UI from the spec.

OpenAPI Explorer

Web Component Custom Element for Open-API spec viewing, with automatic integration for React and Vue.

Beautiful and responsive API explorer and console

Desktop demo image

Check out the Demo

OpenAPI Explorer Demo

(Curious about the exact styling of this: here's the exact example)

Get started now

npm i openapi-explorer

Quick start example

  • import 'openapi-explorer';
<openapi-explorer :spec-url="openapiSpecificationUrl">
  <div slot="overview">
    <h1>The API</h1>
  </div>
</openapi-explorer>

Features

  • OpenAPI 3.0
  • Built in automatic Internationalization (I18n)
  • Works with any framework
  • View resources, models, and directly make API calls
  • Better Usability,
    • Request fields are pre-populated with default data
    • Takes only one click to make an API call
    • Renders SDK/client code samples
    • Branding and Personalization features makes it easy to follow any style guide
    • Fully customizable theme
  • Plenty of customization options
    • Add external contents throughout the component, extensible with markdown, images, links, and text
    • All properties are reactive
    • Style the element with standard css (change padding, position, border, margin )
    • Styles that reflect your site and your UI/UX frameworks (React, Vue, vanilla js, Bootstrap, Material, and many more...)
  • Responsive so it works on mobile
  • Lightweight and fast

Documentation

Troubleshooting integration issues

Common issues

Contribution

Contributions Guide

# Clone / Download the project then
git clone

## Pull in dependencies
yarn

# build will generate dist/openapi-explorer.min.js
yarn build 

import 'openapi-explorer';

Copyright

Copyright 2023 Rhosys AG

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this repository source except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

More Repositories

1

aws-s3-explorer

A public open source S3 explorer for public/private buckets that can be deployed anywhere.
JavaScript
48
star
2

aws-architect.js

Deploy Node.js microservice to AWS Lambda and API Gateway
JavaScript
47
star
3

dynamodb-armor

Drop in replacement for DynamoDB, 100% compatible, protects against common production problems
JavaScript
22
star
4

openapi-data-validator.js

OpenAPI Request Validation for API for any framework
JavaScript
14
star
5

openapi-factory.js

API as first class node library to generate clients, servers, and documentation.
JavaScript
10
star
6

email-linker

Creates a button to navigate a user to their email to verify or login.
JavaScript
9
star
7

mirri.js

javascript based toolkit for automatically rotating aws IAM access keys.
JavaScript
5
star
8

saml-login.js

SAML2.0 Application, Service Provider, and Identity Provider login adapter for Node.js
TypeScript
4
star
9

openapi-resolver.js

Javascript library to connect to parse and resolve openapi-enabled APIs via browser or nodejs
JavaScript
4
star
10

error-object-polyfill.js

Replace your lame string errors with object versions
JavaScript
3
star
11

AWS-Route53-EIP-Config

Creates an AWS Config rule to detect route53 records pointing at ip addresses that are no longer in use.
JavaScript
3
star
12

Handbook

Relevant information for guiding practices at Rhosys
2
star
13

vanishing-keys

Vanishing Keys is the public implementation of how Authress provides One Time Secrets
JavaScript
2
star
14

github-action-rebuild-pull-requests

Automatically rebuild pull requests when they become stale or when changes are pushed to destination branch.
JavaScript
1
star
15

soc2.fyi

SOC 2 should be easy to get done and it should be inexpensive. Here's everything you wanted to know.
JavaScript
1
star
16

Service-Console

UX friendly Cloud UI for all Clouds
1
star