Principled code generation from OpenAPI specifications. https://guardrail.dev/
Hi, is there a simple fix for cases where the protocol field names contain reserved words? for example
schemas:
MacroWrapper:
type: object
required:
- macro
properties:
macro:
$ref: "#/components/schemas/ZendeskMacro"
gives macro is now a reserved word; usage as an identifier is disallowed
, I don't want to use the x-jvm-type
or x-scala-type
extensions as a workaround because it would introduce unnecessary complexity.
If there is no fix for this yet (I'm on version 0.64) I could create an issue and for on a fix
macro
to be surrounded in backticks, like other reserved words
tracing
boolean, as it is better served by way of composition now that mapRoutes
exists in a number of frameworks. I would like to do this in a way that doesn't break Twilio, so if you know people are still using that feature directly, I can come up with a migration strategy.
scala-dropwizard
): https://github.com/guardrail-dev/guardrail/pull/1331/files#diff-038ddff44db3d6599f6eaec4bece42fb97081152ff3e7eebfe554a385260a07dR96-R168
default
was specified
securitySchemes
component and referenced it globally in the security section of my openapi config. However guardrail still generates the same Handler as before. I'm using the sbt plugin for the generation. Is basic auth support only available in the cli app or am I missing something?