it’s my swagger Config file Student Controller StudentDTO class My Repository Myapplication class application.properties pom.xml When I run this application everything looks fine but I can’t see the POST/PUT/or DELETE. I try to many things I find from Internet but it doesn’t work. I new on this topic. I actually want to wrote null inputs and get exceptions for exception
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
Generate Unit Test Code from Swagger API for Java REST
I was trying using Swagger test templates and found this an interesting tool to generate the test files for my controllers, but It seems to just work for NodeJs projects, because there is not a similar tool for the Java platform. Do somebody knows about how to generate these Test files from my controllers by using a swagger file for