An open API service indexing awesome lists of open source software.

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

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
```