github.com/rwxrob/openapi
Package openapi embeds and encapsulates the the current OpenAPITools openapi-generator-cli JAR file (see JAR constant for current version). This allows all of its commands and functionality to be used from any Go program easily with a single import (provided Java has been installed on the host system). The Run function passes all arguments directly to the embedded (or cached) jar file itself. Note that the embedded JAR file does not consume any RAM when any function from this package is called since embeds are saved in the .rodata section of the ELF binary, for example.) For those who prefer to use java directly, the JAR file is extracted at init time to the java.CacheDir (default: os.UserCacheDir/gojavacache) and can be used like any other jar file from that location until explicitly removed. The embedded jar file will not be extracted and cached if a file of the same name is already there.
proxy.golang.org
v0.1.1
over 3 years ago
3
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/rwxrob/openapi
spec |
| License | Apache-2.0 |
| Namespace | github.com/rwxrob |
| First Release | over 3 years ago |
| Last Synced | about 1 month ago |
Repository
| Stars | 2 on GitHub |
| Forks | 0 on GitHub |