清除教师不存在的组

This commit is contained in:
2026-08-31 12:37:17 +08:00
parent 5aa13e8d25
commit 38015816ac
@@ -0,0 +1,26 @@
package com.yunhai.bschclassmanage.config;
import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Info;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* SpringDoc configuration for the class management service.
* The application exposes OpenAPI JSON and Swagger UI endpoints.
*/
@Configuration
public class SwaggerConfig {
/**
* Registers the metadata shown in the generated API documentation.
*
* @return OpenAPI metadata for this application
*/
@Bean
public OpenAPI bschClassOpenAPI() {
return new OpenAPI().info(new Info()
.title("BschClass OpenAPI") // Documentation title
.description("School, class, teacher and student management APIs") // Documentation description
.version("1.0.0")); // Documentation version
}
}