Jump To Close Expand all Collapse all Table of contents Using the Quarkus extension for the Spring Web API Preface Providing feedback on Red Hat documentation Making open source more inclusive 1. Prerequisites 2. Creating the Spring Web example Maven project 3. Creating the main class and test class for GreetingController 4. Compiling and starting your Spring Web example 5. Configuring the GreetingController to return a JSON response 6. Enabling OpenAPI and Swagger-UI support in your Spring Web example 7. Adding MicroProfile OpenAPI annotations to your REST controller code 8. Overview of Spring Web annotations supported in Quarkus 9. Overview of Spring Web annotations and their JAX-RS equivalents 10. Controller method parameter types supported in Quarkus 11. Controller method return types supported in Quarkus 12. Exception handler method parameter types supported in Quarkus 13. Exception handler method return types supported in Quarkus 14. Additional resources Legal Notice Settings Close Language: 简体中文 日本語 English Language: 简体中文 日本語 English Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Language and Page Formatting Options Language: 简体中文 日本語 English Language: 简体中文 日本語 English Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Chapter 1. Prerequisites Have OpenJDK 11 installed and the JAVA_HOME environment variable set to match the path to the directory in which OpenJDK is installed on your system. Have Apache Maven 3.6.2 or higher installed. Previous Next