python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How create unit test in Spring REST in POST Cotroller
I have a Spring Boot Controller with POST. Method works fine. I tested it by POSTMAN and from postgresql I recieved JSON. But I need test it.
@RestController
@RequestMapping("/api")
public c...
mszyba
Votes: 0
Answers: 1
Openapi Generator. How to generate method with HttpServletResponse as parameter?
everyone.
I use strategy "Design first". I describe specification.
One of the methods accepts HttpServletResponse as paramether.
But i don't know ho to describe it correctly in my .yaml-fle....
Floor is Java
Votes: 0
Answers: 2
How to insert a json body with multiple data to multiple tables with relationship in springboot
I have two entities: UserEntity and LoginEntity and crudrepositories for each. The entities have a relationship of OneToOne where one user will have one login account. I also created a controller and ...
zahor hassan
Votes: 0
Answers: 1
Spring-Boot Components from other jar are not in context
I have following situation. JDK 17, Spring-Boot: 2.6.2. A gradle multi-project. One project is a library (java-library, no spring boot plugin). Another project is a spring boot application with spring...
Dmitri Zamysloff
Votes: 0
Answers: 1