정적 문서 내보내기
1. boot sample project with swagger
3개의 sample API 구현
sample respone spec 확인 가능

2. export schema (json)
url 가져오기
/v3/api-docs
링크를 누르거나console 에서 명령어를 통해 url 을 가져옵니다.
// 3.x
> ui.getConfigs().url
// 2.x
> swaggerUi.api.url

3. check schema
4. convert to document
json 을 붙여넣기만 하면 완성!

필요시 yml 전환 가능

Reference
Last updated
Was this helpful?