All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sttp.tapir.serverless.aws.terraform.model.scala Maven / Gradle / Ivy

There is a newer version: 1.11.10
Show newest version
package sttp.tapir.serverless.aws.terraform

import io.circe.Printer
import io.circe.syntax._
import sttp.model.Method

case class AwsTerraformApiGateway(routes: Seq[AwsApiGatewayRoute]) {
  def toJson(options: AwsTerraformOptions): String = {
    val encoders = AwsTerraformEncoders(options)
    import encoders._
    Printer.spaces2.print(this.asJson)
  }
}

case class AwsApiGatewayRoute(
    name: String,
    path: String,
    httpMethod: Method
)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy