{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftamata78.hatenablog.com%2Fentry%2F2025%2F08%2F13%2F144614\" title=\"Spring Bean\u5b9a\u7fa9\u306b\u3064\u3044\u3066 - \u6c17\u8efd\u306b\u697d\u3057\u304f\u30d7\u30ed\u30b0\u30e9\u30e0\u3068\u904a\u3076\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"blog_title":"\u6c17\u8efd\u306b\u697d\u3057\u304f\u30d7\u30ed\u30b0\u30e9\u30e0\u3068\u904a\u3076","title":"Spring Bean\u5b9a\u7fa9\u306b\u3064\u3044\u3066","version":"1.0","type":"rich","width":"100%","published":"2025-08-13 14:46:14","description":"Bean\u5b9a\u7fa9\u306e\u5229\u7528\u65b9\u6cd5 Bean\u5b9a\u7fa9\u3059\u308b\u3068\u3001Spring\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u306b\u305d\u306e\u30e1\u30bd\u30c3\u30c9\u306e\u623b\u308a\u5024\u304c\u767b\u9332\u3055\u308c\u308b\u3002\u3053\u306e\u767b\u9332\u3055\u308c\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u3001Spring\u306e\u7ba1\u7406\u4e0b\u306b\u7f6e\u304b\u308c\u305f\u300cBean\u300d\u3068\u3057\u3066\u5229\u7528\u53ef\u80fd\u306b\u306a\u308b\u3002 \u5b9a\u7fa9\u4f8b @Bean fun testAPI(): TestAPI = TestAPI() .info( Info().version(\"1.1\") .title(\"API\") .description(\"test API\"), ) \u5229\u7528\u65b9\u6cd5 1. DI\uff08\u4f9d\u5b58\u6027\u6ce8\u5165\uff09\u306b\u3088\u308b\u5229\u7528 @Autowired\u3084\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u3092\u4f7f\u7528\u3057\u3066\u3001\u4ed6\u306e\u30af\u30e9\u30b9\u3067\u5229\u7528\u3067\u304d\u308b\u3002 @Servic\u2026","provider_url":"https://hatena.blog","height":"190","author_url":"https://blog.hatena.ne.jp/tamata78/","url":"https://tamata78.hatenablog.com/entry/2025/08/13/144614","categories":["kotlin"],"provider_name":"Hatena Blog","author_name":"tamata78","blog_url":"https://tamata78.hatenablog.com/"}