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

com.bybutter.sisyphus.starter.grpc.transcoding.EnableHttpToGrpcTranscoding.kt Maven / Gradle / Ivy

Go to download

Starter for building gRPC server which with HTTP and gRPC Transcoding in Sisyphus Framework

There is a newer version: 2.1.22
Show newest version
package com.bybutter.sisyphus.starter.grpc.transcoding

import com.bybutter.sisyphus.starter.grpc.transcoding.support.swagger.authentication.DefaultSwaggerConfig
import org.springframework.context.annotation.ComponentScan
import org.springframework.context.annotation.Import

/**
 * Enable HTTP/json to gRPC/protobuf transcoding in current gRPC server.
 * @property services Array the name of services which need to enable CORS in transcoding.
 * Empty list for all supported services.
 */
@ComponentScan(basePackageClasses = [EnableHttpToGrpcTranscoding::class])
@Import(DefaultSwaggerConfig::class, GrpcTranscodingConfig::class)
annotation class EnableHttpToGrpcTranscoding(val services: Array = [])




© 2015 - 2025 Weber Informatics LLC | Privacy Policy