chore: move templates to vm tag on swagger

This commit is contained in:
2025-03-05 16:28:31 +00:00
parent 26d72f2f45
commit ce051e395c

View File

@ -262,7 +262,7 @@ async fn v1_list_vm_images(db: &State<Arc<dyn LNVpsDb>>) -> ApiResult<Vec<ApiVmO
}
/// List available VM templates (Offers)
#[openapi(tag = "Template")]
#[openapi(tag = "VM")]
#[get("/api/v1/vm/templates")]
async fn v1_list_vm_templates(db: &State<Arc<dyn LNVpsDb>>) -> ApiResult<Vec<ApiVmTemplate>> {
let hc = HostCapacityService::new((*db).clone());