
com.twilio.guardrail.Context.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of guardrail_2.12 Show documentation
Show all versions of guardrail_2.12 Show documentation
Principled code generation for Scala services from OpenAPI specifications
The newest version!
package com.twilio.guardrail
import com.twilio.guardrail.protocol.terms.protocol.PropertyRequirement
case class Context(
framework: Option[String],
customExtraction: Boolean,
tracing: Boolean,
modules: List[String],
propertyRequirement: PropertyRequirement.Configured
)
object Context {
val empty: Context = Context(
None,
customExtraction = false,
tracing = false,
modules = List.empty,
propertyRequirement = PropertyRequirement.Configured(PropertyRequirement.OptionalLegacy, PropertyRequirement.OptionalLegacy)
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy