Let’s compare Swagger’s @Parameter and @Schema annotations, and identify the correct usage for each.
Also find me here:
Baeldung Author
baeldung
This is the standard author on the site. Most articles are published by individual authors, with their own profiles, but when multiple people have a strong contribution, we publish collectively here.
Here's what I've written (so far):
Baeldung on Java
- All
- Weekly Review (514)
- Core Java (225)
- Spring (171)
- Testing (157)
- Spring Boot (152)
- Java (142)
- Java String (121)
- REST (109)
- Spring Security (102)
- Spring MVC (99)
- Persistence (96)
- Java IO (92)
- Jakarta EE (77)
- NoSQL (76)
- Java Collections (73)
- Data (73)
- Spring Data (71)
- Algorithms (69)
- Java Concurrency (64)
- DevOps (64)
- Security (57)
- Series (56)
- Java Dates (52)
- JPA (51)
- Reactive (49)
- Maven (47)
- HTTP Client-Side (46)
- Java Map (45)
- Spring Cloud (42)
- Java Numbers (41)
- Java Streams (40)
- Java Array (40)
- JVM (40)
- Java List (38)
- JSON (37)
- Architecture (37)
- Logging (29)
- Spring Persistence (28)
- Jackson (28)
- IDE (27)
- Gradle (25)
- Spring Web (24)
- Networking (20)
- Cloud (20)
- XML (18)
- Web Services (17)
- Groovy (16)
- Spring WebFlux (15)
- Java Web (11)
- Artificial Intelligence (8)
- Docker (7)
- Spring AI (1)
- News (1)
How to Convert application.properties to application.yml for Spring Boot
Filed under Spring Boot
Explore the difference between .properties and .yml files and learn how to convert the application.properties file to application.yml and vice-versa using various tools and plugins.
Java Weekly, Issue 496
Filed under Weekly Review
TODO
Java Weekly, Issue 495
Filed under Weekly Review
Lots and lots of new releases this week. And some Java Records goodness 🙂
Hex Representation of a SHA-1 Digest of a String in Java
Filed under Algorithms, Security
Learn three different ways to generate the hex representation of a SHA-1 digest of a string in Java.
Java Weekly, Issue 494
Filed under Weekly Review
Simplified SSL in Spring Boot, structured concurrency in Java 21, nulls in Collectors, XSS in Java, and WASM on Docker.
Generating WSDL Stubs With Gradle
Filed under Gradle, Web Services
Learn how to generate WSDL stubs with Gradle and use the generated stub classes.
Java Weekly, Issue 493
Filed under Weekly Review
Generational Shenandoah, nullability of value types, class loaders in Java, DDL validation, and rolling out features at scale!
How to Display a Full HTTP Response Body With Gatling
Filed under Testing
Learn how to display on the console the full HTTP response body with Gatling.