com.twilio.guardrail.generators.Java.SpringMvc.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.generators.Java
import com.twilio.guardrail.Target
import com.twilio.guardrail.generators.JavaGenerator.JavaInterp
import com.twilio.guardrail.generators.collections.JavaCollectionsGenerator.JavaCollectionsInterp
import com.twilio.guardrail.generators.{ Framework, SwaggerGenerator }
import com.twilio.guardrail.languages.JavaLanguage
import com.twilio.guardrail.terms.collections.JavaStdLibCollections
object SpringMvc extends Framework[JavaLanguage, Target] {
private implicit val col = JavaStdLibCollections
implicit def CollectionsLibInterp = new JavaCollectionsInterp
implicit def ArrayProtocolInterp = JacksonGenerator.ArrayProtocolTermInterp
implicit def ClientInterp = SpringMvcClientGenerator.ClientTermInterp
implicit def EnumProtocolInterp = JacksonGenerator.EnumProtocolTermInterp
implicit def FrameworkInterp = SpringMvcGenerator.FrameworkInterp
implicit def ModelProtocolInterp = JacksonGenerator.ModelProtocolTermInterp
implicit def PolyProtocolInterp = JacksonGenerator.PolyProtocolTermInterp
implicit def ProtocolSupportInterp = JacksonGenerator.ProtocolSupportTermInterp
implicit def ServerInterp = SpringMvcServerGenerator.ServerTermInterp
implicit def SwaggerInterp = SwaggerGenerator[JavaLanguage]
implicit def LanguageInterp = JavaInterp
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy