wordnik

SpringFox not finding jax-rs endpoints

空扰寡人 提交于 2019-12-09 12:48:29
问题 After solving Using Springfox to document jax-rs services in a Spring app, I now find that SpringFox's JSON reply doesn't show any APIs: { "swagger": "2.0", "info": { "description": "Some description", "version": "1.0", "title": "My awesome API", "contact": { "name": "my-email@domain.org" }, "license": {} }, "host": "localhost:9090", "basePath": "/myapp" } Here's springfox-servlet.xml: <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema

SpringFox not finding jax-rs endpoints

﹥>﹥吖頭↗ 提交于 2019-12-03 14:50:21
After solving Using Springfox to document jax-rs services in a Spring app , I now find that SpringFox's JSON reply doesn't show any APIs: { "swagger": "2.0", "info": { "description": "Some description", "version": "1.0", "title": "My awesome API", "contact": { "name": "my-email@domain.org" }, "license": {} }, "host": "localhost:9090", "basePath": "/myapp" } Here's springfox-servlet.xml: <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org