guardrail
guardrail copied to clipboard
Principled code generation from OpenAPI specifications
Currently, identical classes are completely incompatible, even if generated from the same OpenAPI specification file. This is due to different JVM package paths being chosen for generated classes, and can...
It fails while trying to access `getAllOf` which is null (tested with version 0.44.0) ```scala m.getAllOf.asScala.toList.get(1).flatMap { ``` OpenApi doc: ```{ "openapi": "3.0.0", "info": { "title": "---", "version": "0.1.0" },...
Updates org.hibernate:hibernate-validator from 6.2.4.Final to 8.0.0.CR3. I'll automatically update this PR to resolve conflicts as long as you don't change it yourself. If you'd like to skip this version, you...
Updates [org.scoverage:sbt-scoverage](https://github.com/scoverage/sbt-scoverage) from 2.0.0 to 2.0.2. [GitHub Release Notes](https://github.com/scoverage/sbt-scoverage/releases/tag/v2.0.2) - [Version Diff](https://github.com/scoverage/sbt-scoverage/compare/v2.0.0...v2.0.2) I'll automatically update this PR to resolve conflicts as long as you don't change it yourself. If you'd...
**Background** We're currently using Guardrail to generate a client for a large API surface. We'd love to selectively generate only the handful of routes that we use, rather than the...
Hi, is there a way to gracefully handle or ignore properties that do not have a type? For example, some properties in the [Google Maps openapi specification](https://github.com/googlemaps/openapi-specification/releases/tag/v1.17.16) are missing a...
Updates com.github.javaparser:javaparser-symbol-solver-core from 3.22.1 to 3.24.4. I'll automatically update this PR to resolve conflicts as long as you don't change it yourself. If you'd like to skip this version, you...
Updates * [org.mockito:mockito-scala](https://github.com/mockito/mockito-scala) * [org.mockito:mockito-scala-scalatest](https://github.com/mockito/mockito-scala) from 1.17.7 to 1.17.12. [GitHub Release Notes](https://github.com/mockito/mockito-scala/releases/tag/v1.17.12) - [Version Diff](https://github.com/mockito/mockito-scala/compare/v1.17.7...v1.17.12) I'll automatically update this PR to resolve conflicts as long as you don't change it...
Currently guardrail uses the last component of the custom package name (as specified using `x-{jvm,scala,java}-package` or `tags`) as a prefix for the generated class name. It would be useful to...
Updates * [org.scala-lang:scala-library](https://github.com/scala/scala) * [org.scala-lang:scala-reflect](https://github.com/scala/scala) from 2.12.15 to 2.12.16. [GitHub Release Notes](https://github.com/scala/scala/releases/tag/v2.12.16) - [Version Diff](https://github.com/scala/scala/compare/v2.12.15...v2.12.16) I'll automatically update this PR to resolve conflicts as long as you don't change it...