0.2.1 • Published 2 years ago
json2swagger v0.2.1
A Vue component to convert JSON responses and requests to YAML format compatible with Swagger.
Get started
Install:
npm install json2swagger
Then, import and register the component:
<template>
<Json2Swagger :request="true" />
</template>
<script>
import Json2Swagger from 'json2swagger';
export default {
name: 'MyPage',
components: {
Json2Swagger
}
}
</script>
Is it production-ready? Any improvements?
- Base Json to YAML convert
- Json to Swagger Components
- Send request and convert to Components
- Send request and convert it to Path
- Copy request from Google Chrome and convert it to Path
- Work with descriptions...
- Moving nested structures into a separate definition
- Authorization header to Security Scheme
- ...