https://github.com/appscode-cloud/vue-openapi-form
A Vue component to generate html form using OpenAPI v3 schema
https://github.com/appscode-cloud/vue-openapi-form
Last synced: about 1 year ago
JSON representation
A Vue component to generate html form using OpenAPI v3 schema
- Host: GitHub
- URL: https://github.com/appscode-cloud/vue-openapi-form
- Owner: appscode-cloud
- License: apache-2.0
- Created: 2019-11-29T10:07:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-12-29T03:14:29.000Z (over 1 year ago)
- Last Synced: 2025-03-31T15:19:33.986Z (about 1 year ago)
- Language: CSS
- Homepage: https://vue-openapi-form.web.app
- Size: 18.4 MB
- Stars: 71
- Watchers: 1
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vue-openapi-form
## Validation structure
The Object and Array type components are wrapped inside `ValidationProvider` and a `ValidationObserver`. The
- `ValidationProvider` ensures that the Object/Array itself is not empty if required. And also other validations if necessary.
- `ValidationObserver` ensures to report all the errors occuring in it's nested child components.
## Props
- `reference-model` - A deep copy of the model object that we are modifying using vue-openapi-form component
## Project setup
```
npm install
```
### Compiles and hot-reloads for development
```
npm run serve
```
### Compiles and minifies for production
```
npm run build
```
### Run your tests
```
npm run test
```
### Lints and fixes files
```
npm run lint
```
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).