Skip to content
Advertisement

Tag: swagger-2.0

How to specify array ([]) type in Swagger

Hi I am trying to autogenerate a class using swagger plugin. One property of this class has to be array, but when I write type: “array” always create a List. This is part of my “yml” file: And this is the property that create: Answer In Java, an array has a fixed length. This is different from OpenAPI and JavaScript

SWAGGER – Fetch error v2/apidocs undefined

My swagger was working fine with this code. I wanted to add Authorize option in swagger page. So I did this config. From the time I added this new configurations I am getting this error. I have added the v2/api-docs in my security web ignore & http disble configurations already. My swagger dependencies: please help me with the issue Answer

Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled. How can I solved Problem?

Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled. pom.xml 4.0.0 org.springframework.boot spring-boot-starter-parent 2.6.6 kodlamaio northwind 0.0.1-SNAPSHOT northwind Demo project for Spring Boot <java.version>11</java.version> org.springframework.boot spring-boot-starter-data-jpa org.springframework.boot spring-boot-starter-web Answer According to your error.log So please resolve the NullPointerException in your PatternsRequestCondition

Advertisement