https://github.com/vmware-samples/swagger-schema-registry-service
Sample code for 'Using Swagger and OpenAPI in vRealize Orchestrator HTTP REST Plug-in' blogpost.
https://github.com/vmware-samples/swagger-schema-registry-service
Last synced: about 1 year ago
JSON representation
Sample code for 'Using Swagger and OpenAPI in vRealize Orchestrator HTTP REST Plug-in' blogpost.
- Host: GitHub
- URL: https://github.com/vmware-samples/swagger-schema-registry-service
- Owner: vmware-samples
- License: apache-2.0
- Created: 2022-10-10T11:37:45.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-19T10:07:40.000Z (over 3 years ago)
- Last Synced: 2025-01-24T18:28:21.319Z (about 1 year ago)
- Language: JavaScript
- Size: 77.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING_CLA.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# swagger-schema-registry-service
## Overview
This is the sample service that is used in Using Swagger and OpenAPI in vRealize Orchestrator HTTP REST Plug-in blogpost.
### Prerequisites
* Java 11
* Maven 3.8+
### Build & Run
1. mvn clean install -DskipTests
2. ./mvnw spring-boot:run
## Documentation
This server exposes 3 endpoints which return
OpenAPI host schema, Swagger v2 and OpenAPI v3 Petstore schemas.
```
http://{server.ip}:8080/host-spec
```
```
http://{server.ip}:8080/v2/petstore
```
```
http://{server.ip}:8080/v3/petstore
```
## Contributing
The swagger-schema-registry-service project team welcomes contributions from the community. Before you start working with this project please read and sign our Contributor License Agreement (https://cla.vmware.com/cla/1/preview). If you wish to contribute code and you have not signed our Contributor Licence Agreement (CLA), our bot will prompt you to do so when you open a Pull Request. For any questions about the CLA process, please refer to our [FAQ](https://cla.vmware.com/faq).
## License
Apache License 2.0