Saving changes
This commit is contained in:
+2
-13
@@ -18,17 +18,6 @@ pub mod init {
|
|||||||
use contact_caller::endpoint as contact_endpoints;
|
use contact_caller::endpoint as contact_endpoints;
|
||||||
use contact_caller::response as contact_responses;
|
use contact_caller::response as contact_responses;
|
||||||
|
|
||||||
use coverart_caller::endpoint as coverart_endpoints;
|
|
||||||
use coverart_caller::response as coverart_responses;
|
|
||||||
use coverart_queue_callers::endpoint as coverart_queue_endpoints;
|
|
||||||
use coverart_queue_callers::response as coverart_queue_responses;
|
|
||||||
use metadata_queue_caller::endpoint as metadata_queue_endpoints;
|
|
||||||
use metadata_queue_caller::response as metadata_queue_responses;
|
|
||||||
use song_caller::endpoint as song_endpoints;
|
|
||||||
use song_caller::response as song_responses;
|
|
||||||
use song_queue_callers::endpoint as song_queue_endpoints;
|
|
||||||
use song_queue_callers::response as song_queue_responses;
|
|
||||||
|
|
||||||
mod cors {
|
mod cors {
|
||||||
pub async fn configure_cors() -> tower_http::cors::CorsLayer {
|
pub async fn configure_cors() -> tower_http::cors::CorsLayer {
|
||||||
let cors = tower_http::cors::CorsLayer::new()
|
let cors = tower_http::cors::CorsLayer::new()
|
||||||
@@ -80,8 +69,8 @@ pub mod init {
|
|||||||
|
|
||||||
#[derive(utoipa::OpenApi)]
|
#[derive(utoipa::OpenApi)]
|
||||||
#[openapi(
|
#[openapi(
|
||||||
paths(song_queue_endpoints::queue_song,),
|
paths(contact_endpoints::create_contact,),
|
||||||
components(schemas(song_queue_callers::response::song_queue::Response)),
|
components(schemas(contact_caller::response::AddContactResponse)),
|
||||||
tags(
|
tags(
|
||||||
(name = "textsender API", description = "Web API to manage texting")
|
(name = "textsender API", description = "Web API to manage texting")
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user