Required plugin:

Java

Demo Video: https://www.bilibili.com/video/BV1Ye411h7Qu/

Follow: AutoDev for CRUD (Java)

Main function steps:

abstract fun getOrCreateStoryDetail(id: String): String

abstract fun updateOrCreateDtoAndEntity(storyDetail: String)

abstract fun fetchSuggestEndpoint(storyDetail: String): TargetEndpoint

abstract fun updateOrCreateEndpointCode(target: TargetEndpoint, storyDetail: String)

abstract fun updateOrCreateServiceAndRepository()