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

com.infobip.kafkistry.api.StaticApi.kt Maven / Gradle / Ivy

There is a newer version: 0.8.0
Show newest version
package com.infobip.kafkistry.api

import com.infobip.kafkistry.webapp.url.AppUrl
import com.infobip.kafkistry.webapp.url.Url
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RestController

@RestController
@RequestMapping("\${app.http.root-path}/api/static")
class StaticApi(
       private val appUrl: AppUrl
) {

    @GetMapping("/url-schema")
    fun urlSchema(): Map = appUrl.schema()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy