https://github.com/opentable/go-singularity
Singularity API client
https://github.com/opentable/go-singularity
Last synced: 6 months ago
JSON representation
Singularity API client
- Host: GitHub
- URL: https://github.com/opentable/go-singularity
- Owner: opentable
- License: mit
- Archived: true
- Created: 2016-03-16T21:03:28.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-05-14T00:39:58.000Z (about 7 years ago)
- Last Synced: 2024-06-20T16:43:52.691Z (about 2 years ago)
- Language: Go
- Homepage:
- Size: 7.13 MB
- Stars: 3
- Watchers: 21
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.MD
- License: LICENSE
Awesome Lists containing this project
README
# go-singularity
Singularity API client, originally for use with Sous. Perhaps useful to others.
## Components:
- `jq-scripts/` and `process_api.sh` are helpers to clean up the Sigularity JSON;
Singularity's generated JSON files are... not completely valid Swagger,
so they need a little massage before they're used.
## Development:
The vast majority of this code is generated using the [swagger-client-maker.](http://github.com/opentable/swaggering)
To install the tool:
### Singularity
Should you need to build Singularity, the incantation is:
```mvn compile -Dbasepom.check.fail-extended=false```
### Quickstart
```bash
go get github.com/opentable/swaggering/cmd/swagger-client-maker
mkdir dtos
swagger-client-maker --import-name=github.com/opentable/go-singularity --client-package=singularity api-docs/ .
```