티스토리 뷰

공부

[swagger] custom path, custom api-docs

승가비 2022. 6. 20. 00:33
728x90
springdoc:
  swagger-ui:
    url: /docs/merged
    path: /
  api-docs:
    custom:
      title: Data API
      version: 1.0
      description: Data API
      service: ${SERVICE_HOST:}
      name: Core Data
      url: https://github.com/bucketplace/data
      email: eng-core-data@bucketplace.net

https://github.com/springdoc/springdoc-openapi/issues/43

 

http://localhost:3006/swagger-ui/index.html serves Swagger Petstore. Can this be disabled? · Issue #43 · springdoc/springdoc-

Navigating to http://localhost:3006/swagger-ui/index.html serves up the sample Swagger Petstore apis. Can these be disabled? I did not see any reference to the petstore within your codebase so perh...

github.com

https://bcp0109.tistory.com/326

 

Spring Boot Swagger 3.x 적용

1. Swagger 란? Swagger 는 OAS(Open Api Specification)를 위한 프레임워크입니다. 개발자들의 필수 과제인 API 문서화를 쉽게 할 수 있도록 도와주며, 파라미터를 넣어서 실제로 어떤 응답이 오는지 테스트도

bcp0109.tistory.com

https://springdoc.org/features.html

 

Springdoc-openapi Features

The library uses spring-boot application auto-configured packages to scan for the following annotations in spring beans: OpenAPIDefinition and Info. These annotations declare, API Information: Title, version, licence, security, servers, tags, security and

springdoc.org

 

728x90
댓글
댓글쓰기 폼