Loading tutorials
@RestController, @GetMapping, @RequestBody), manage a Maven or Gradle dependency, and read JSON and HTTP status codes. You will add one dependency and see what springdoc generates.2 min readspringdoc-openapi-starter-webmvc-ui dependency from the previous chapter, and that you can read JSON and HTTP status codes. Here you will start the application and see what springdoc produces before you add any annotations or prope2 min read/swagger-ui.html in a running Spring Boot 3 application. It also assumes you know basic HTTP methods and status codes. Here you use the page to send real requests to your API.2 min read@RestController classes. You should know how to edit application.yml and read basic URL paths. By default springdoc serves the JSON description at /v3/api-docs and Swagger UI at `/swagge2 min read/v3/api-docs and Swagger UI already respond. You should also be comfortable with @Configuration classes and @Bean methods.2 min read/v3/api-docs and Swagger UI already respond. It also assumes you can write a @RestController. Without annotations, springdoc groups endpoints under the controller class name and labels each one with the method2 min read/v3/api-docs, and know basic Bean Validation annotations such as @NotBlank. Here you will learn how springdoc turns your Java types into schemas and how to improve them.2 min read@PathVariable, @RequestParam and @RequestHeader.2 min read@Operation and @Schema, and can write a Spring @RestControllerAdvice.2 min read@RestController, and a basic idea of how JWT bearer tokens are sent in an Authorization header. It covers how to describe that scheme in the OpenAPI document so Swagger UI can send authenticated requests.2 min read/v3/api-docs and Swagger UI, and that you know how @RequestMapping paths work. A single OpenAPI document works well for a small service. As the API grows, one long page of unrelated endpoints be2 min read@RestController and @RequestMapping. It also assumes you have seen the generated /v3/api-docs document. By default springdoc documents every Spring MVC endpoint it finds. Some of those are not 2 min read/v3/api-docs returns JSON while the application runs. It also assumes you use Maven or Gradle.2 min read/v3/api-docs endpoint, and can write a basic Spring Boot test with JUnit 5. The goal is to catch documentation regressions in the build, so a broken or missing description fails a test instead of reaching 2 min read