![JAR search and dependency download from the Maven repository](/logo.png)
pub.codex.apix.ApixController Maven / Gradle / Ivy
package pub.codex.apix;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
import pub.codex.apix.annotations.Api;
import pub.codex.apix.doc.DocDocument;
@Api("演示API管理")
@RestController
public class ApixController {
@Autowired
private DocumentationCache documentationCache;
@GetMapping("apix/doc")
@ResponseBody
public DocDocument api() {
return new DocDocument(documentationCache.getDocumentationLookup());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy