Link Search Menu Expand Document

Servlet

Table of contents

  1. Installation
  2. Usage
  3. License

Installation

Add the following to your pom.xml :

<dependency>
    <groupId>org.openapi4j</groupId>
    <artifactId>openapi-operation-servlet</artifactId>
</dependency>

Release version Snapshot version

Usage

Requests and responses are wrapped with the specific adapter.

// Servlet
Request request = ServletRequest.of(HttpServletRequest hsr);
// validate...
Library Version Client Server Dependency
Servlet >= 2.0 No ServletRequest The spec dependency you use

License

See main page