0.2.1 • Published 2 years ago

json2swagger v0.2.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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
  • ...

License

MIT

0.2.1

2 years ago

0.2.0

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.5

2 years ago

0.1.3

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago