Files
Nicolas Rodriguez c4a6c4a542 [crystal-lang] Various fixes for Crystal client (#21011)
* fix(crystal): fix typos in Crystal templates

* fix(crystal): various fixes for partial_oneof_module.mustache Crystal template

1. `class << self` doesn't exist in Crystal, you must prefix class methods with `self.`
2. use double quotes for String litterals (simple quotes are for Char litterals)
3. global `private` keyword doesn't exist in Crystal, you must prefix private methods with `private`
4. you must specify types when using `each_with_object({})`

* fix(crystal): add isKeyInCookie in Crystal configuration.mustache

* fix(crystal): wrap `rescue` in a `begin`

* fix(crystal): use Spectator shard to run tests (`described_class` is not available in Crystal std lib)

* fix(crystal): dry tests

* fix(crystal): enable some API tests, mark others as pending

* fix(crystal): update samples

* fix(crystal): update sample app specs

* fix(crystal): install development dependencies
2025-04-02 20:19:25 +08:00

24 lines
363 B
YAML

name: petstore
version: 1.0.0
authors:
-
description: |
-
crystal: ">= 0.35.1"
dependencies:
crest:
github: mamantoha/crest
version: ~> 1.3.13
development_dependencies:
kemal:
github: kemalcr/kemal
version: ~>1.5.0
ameba:
github: crystal-ameba/ameba
spectator:
gitlab: arctic-fox/spectator
version: ~> 0.12.0
license: