https://github.com/cyangle/pet_store
OpenAPi generator test project
https://github.com/cyangle/pet_store
Last synced: 3 months ago
JSON representation
OpenAPi generator test project
- Host: GitHub
- URL: https://github.com/cyangle/pet_store
- Owner: cyangle
- License: apache-2.0
- Created: 2022-06-02T02:59:07.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-12T02:45:05.000Z (over 3 years ago)
- Last Synced: 2025-01-01T08:41:44.025Z (over 1 year ago)
- Language: Crystal
- Size: 899 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pet_store
The Crystal module for the OpenAPI Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project with CUSTOM templates:
- API version: 1.0.0
- Package version: 0.0.1
- Build package: org.openapitools.codegen.languages.CrystalClientCodegen
- Custom templates: [crystal_client_generator](https://github.com/cyangle/crystal_client_generator)
## Installation
### Install from Git
Add the following to shard.yaml
```yaml
dependencies:
pet_store:
github: GIT_USER_ID/GIT_REPO_ID
version: ~> 0.0.1
```
## Development
Install dependencies
```shell
shards
```
Run the tests:
```shell
crystal spec
```
Run lints
```shell
./bin/ameba
crystal tool format --check
```