티스토리 뷰

공부

[Spring] swagger

승가비 2020. 4. 28. 21:29
728x90

### Setting

https://stackoverflow.com/questions/49155420/springfox-swagger-ui-html-unable-to-infer-base-url-caused-by-missing-cookies

 

Springfox swagger-ui.html unable to infer base URL - Caused by missing cookies

We have our Spring Boot services behind an API Gateway. With an earlier version of Springfox - 2.1.2 we had no issues in loading the swagger-ui.html page. This worked with Spring Boot 1.4.3.RELEASE...

stackoverflow.com

https://stackoverflow.com/questions/30761253/remove-using-default-security-password-on-spring-boot

 

Remove "Using default security password" on Spring Boot

I added one custom Security Config in my application on Spring Boot, but the message about "Using default security password" is still there in LOG file. Is there any to remove it? I do not need this

stackoverflow.com

https://stackoverflow.com/questions/50618350/swagger-with-spring-boot-2-0-leads-to-404-error-page

 

Swagger with Spring Boot 2.0 leads to 404 error page

I'm trying to integrate my Spring Boot version 2.0.1.RELEASE with Swagger. From this blog post it seemed like it will be easy by just adding two Maven dependencies and everything should work. S...

stackoverflow.com

https://www.vojtechruzicka.com/documenting-spring-boot-rest-api-swagger-springfox/

 

Documenting Spring Boot REST API with Swagger and SpringFox

How to document your Spring Boot REST APIs using Swagger with SpringFox?

www.vojtechruzicka.com

https://stackoverflow.com/questions/36280181/disabling-spring-security-in-spring-boot-app

 

disabling spring security in spring boot app

I have a spring boot web app with spring security configured. I want to disable authentication for a while (until needed). I add this to the application.properties: security.basic.enable: false

stackoverflow.com

https://yonguri.tistory.com/87

 

스프링부트 기반 Swagger 사용시 고려사항

Springr기반 웹어플리케이션, 정확히는 API 어플리케이션을 만들때 API의 테스트와 Documentation의 자동화를 위해 Swagger라이브리를 적용하게 된다. 라이브러리를 추가하고 필요한 엔드포인트 ( 클래스 레벨일..

yonguri.tistory.com

http://tech.javacafe.io/spring%20boot/2019/04/21/Spring-swagger/

 

간단히 스프링에 Swagger 적용해보기

간단히 스프링부트에 Swagger 적용해보기 원문은 https://dzone.com/articles/simplified-spring-swagger?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed:%20dzone%2Fjava 입니다. 이번 예제에서 스프링부트에 Swagger를 적용한 REST 프로젝트를 구현해보고 annotation을 사용하여 유효검증하는 방법을 알아보겠다. 요구사항: Java 8.x

tech.javacafe.io

https://github.com/springfox/springfox/issues/808

 

Response Content Type down is NOT showing the proper content type in version above 0.8.8 · Issue #808 · springfox/springfox

Hi, The drop down against Response Content Type is not showing proper content type.The below image is for com.mangofactory:swagger-springmvc:1.0.2 However, same thing is getting displayed properly ...

github.com

 

 

### Security

https://thecodinglog.github.io/spring/security/2020/01/10/disable-security-auto-config.html

 

Spring Boot Security Auto Configuration 끄기

Spring Boot Security Auto Configuration 끄기

thecodinglog.github.io

 

 

 

### Profile

https://effectivesquid.tistory.com/entry/Spring-boot-profile-%EC%A0%81%EC%9A%A9%ED%95%98%EA%B8%B0

 

Spring boot profile 적용하기

Spring Boot Profile 설정 Spring Boot를 사용하기 전에는 maven을 이용했다면 태그를 이용하여 profile을 설정하였다. Spring Boot를 이용하면 보다 손쉽게 profile을 설정할 수 있다. 참고 docs : htt..

effectivesquid.tistory.com

https://cpdev.tistory.com/122

 

[springboot] jar 실행시 profile 선택

jar로 단독실행시 프로파일을 설정해줄수 있다. application-prod.properties 파일을 만들고 아래와 같이 실행 java -jar sample.jar --spring.profiles.active=prod

cpdev.tistory.com

 

728x90

'공부' 카테고리의 다른 글

[Spring] request URL filter  (0) 2020.05.02
[JS] convert hyper link  (0) 2020.04.29
[Python] counter  (0) 2020.04.26
[Git] pull & push don't ask password  (0) 2020.04.26
[MySQL] update by multiple condition  (0) 2020.04.26
댓글