opensearch-api 0.1.0

High-performance REST API gateway for OpenSearch with security, observability and multi-tenant support
1
2
3
4
5
6
7
8
9
use axum::response::{Html, IntoResponse};

pub async fn serve_docs() -> impl IntoResponse {
    Html(include_str!("../static/docs.html"))
}

pub async fn serve_api_playground() -> impl IntoResponse {
    Html(include_str!("../static/playground.html"))
}