guardrail-dev / guardrail-dev/guardrail
Capitalize the objects in scala
Open
enhancement
good first issue
help wanted
scala
- Dominant language
- Scala
- Stars
- 541
- Forks
- 138
- PR merge metrics
- No merged PRs in 30d
Description
## Background and questions
Now in official swagger-java generator, the objects in `#/definitions` will be capitalized when generating, but in `guardrail`, this feature is missing.
## Example
Say I have a object like:
```
"healthStatus": {
"type": "object",
"properties": {
"status": {
"description": "Status always contains \"ok\".",
"type": "string",
}
}
}
```
`guardrail` will generate the code like:
```
case class healthStatus(status: Option[String] = None)
```
But what I want is `HealthStatus`
Contributor guide
Assessment
This issue has not been assessed yet.