https://github.com/absaoss/rest-api-doc-generator
https://github.com/absaoss/rest-api-doc-generator
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/absaoss/rest-api-doc-generator
- Owner: AbsaOSS
- License: apache-2.0
- Created: 2020-10-08T13:14:18.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-06-21T20:55:54.000Z (8 months ago)
- Last Synced: 2025-06-21T21:31:27.399Z (8 months ago)
- Language: Scala
- Size: 80.1 KB
- Stars: 3
- Watchers: 7
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# REST API Doc Generator
[](https://search.maven.org/search?q=g:za.co.absa.utils)
[](https://teamcity.jetbrains.com/viewType.html?buildTypeId=OpenSourceProjects_AbsaOSS_RestApiDocGenerator_AutoBuild&branch=master&tab=buildTypeStatusDiv)
### Usage
```shell script
# print usage
java -jar rest-api-doc-generator.jar --help
# generate Swagger definition from a Spring MVC Context class (defined in a foo.jar)
java -cp ./rest-api-doc-generator.jar:./foo.jar za.co.absa.rapidgen.RapidGenCLI \
swagger -o swagger.json com.example.foo.MySpringWebMVCContextConfiguration
# or with the resulted JSON written to the standard output
java -cp ./rest-api-doc-generator.jar:./foo.jar za.co.absa.rapidgen.RapidGenCLI \
swagger com.example.foo.MySpringWebMVCContextConfiguration 1> swagger.json
```
---
Copyright 2020 ABSA Group Limited
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.