Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/f00b4r/oakit

:diamonds: Simple and intuitive OpenApi/Swagger compatible UI toolkit
https://github.com/f00b4r/oakit

apitte nette openapi swagger toolkit ui

Last synced: 1 day ago
JSON representation

:diamonds: Simple and intuitive OpenApi/Swagger compatible UI toolkit

Awesome Lists containing this project

README

        

# Open API Toolkit

Alternative to swagger UI client written in Vue JS.

- It has fullscreen mode for request and for response (F11/Esc)
- Can handle basic auth
- Can change servers on the go when they are setup in schema
- Filtering for paths with regexp or simple search

## Dependencies

- it uses bootstrap4
- it uses open icon

## Version

[![NPM](https://nodei.co/npm/@apitte/openapi-toolkit.png?compact=true)](https://www.npmjs.com/package/@apitte/openapi-toolkit)

| State | Version | Branch |
|-------------|--------------|----------|
| master | `^0.0.3` | `master` |

## Downloading

- `npm install @apitte/openapi-toolkit`

## Development

- `npm install`
- `npm run start`
- open `localhost:8080` in your browser

## Deployment

- `npm run build`

## Usage

### Using compiled in your html

```html




OpenApi Toolkit










//Initialize open toolkit to id
var mySwaggerJson = {};//here you load your swagger
openToolkitInit("#opentoolkit", mySwaggerJson);

```

### Single page application

```javascript
import Vue from "vue";
import OpenApiClient from "@apitte/openapi-toolkit";
import SWAGGER from "./swagger.json";

new Vue({
el: "#app",
render: h => h(OpenApiClient, {
props: {
schema: SWAGGER
}
})
});
```

### In vue component

```vue



import OpenApiClient from "@apitte/openapi-toolkit";
import SWAGGER from "./swagger.json";

export default {
components: {OpenApiClient},
data() {
return {
schema: TEST_SWAGGER
};
}
};

```

## Maintainers

Jura Papp

-----

The development is sponsored by [Tlapnet](http://www.tlapnet.cz)