OpenAPI viewer component for VueJS
This Vue.js component is designed to easily browse and test a REST API described with the OpenAPI 3.0 Specification (formerly known as Swagger Specification). This component follows Google Material Design principles and relies on the Vue Material framework. It also relies on vue-resource to perform API requests.
See it in action :
$ npm install --save vue-openapi
$ yarn add vue-openapi
VueVueel: '#app'template: '<open-api v-if="jsonApi" :api="jsonApi" md-theme="\'default\'" :query-params="queryParams" :headers="headers"></open-api>'jsonApi: jsonApiqueryParams:userId: 'john_doe'headers:api_key: 'my_api_key'components:OpenApi
Run webpack in watch mode:
npm run dev
Then open test/index.html in your browser.
- Awesome OpenApi 3 lists various projects related to OpenApi 3.0.x
- swagger2openapi lets you convert Swagger 2.0 definitions into OpenApi 3.0.x
This project has been inspired by the following projects :