openapi-generator/samples/server/petstore/jaxrs-spec-required-and-readonly-property
Philzen 2b9949a66b
Bump Jackson to latest v2.17.1 and sync in templates (#18799)
* Drop separate version property

Not required as all Jackson packages usually tether on a version bump.

* Update Jackson to v2.17.1

* Sync Jackson version used by Spring Boot with project version

* Sync jackson update to v2.17.1 with generator templates

* Regenerate samples with updated versions

* Adjust test to current exception msg behavior

* Add dependency mgmt to ensure matching version for transitive dependencies

* Update library descriptions with correct Jackson version number

* Update library descriptions with correct GSON and JSONB versions

* Update retrofit library description with correct version number

* Update retrofit description to include Jackson as an option

This should have been done as part of in #16853.

* Update remaining libary version descriptions with correct versions

* Generate updated doc
2024-06-02 15:17:38 +08:00
..
2024-05-29 18:58:44 +08:00
2023-03-14 11:36:17 +08:00

JAX-RS server with OpenAPI

Overview

This server was generated by the OpenAPI Generator project. By using an OpenAPI-Spec, you can easily generate a server stub.

This is an example of building a OpenAPI-enabled JAX-RS server. This example uses the JAX-RS framework.

The JAX-RS implementation needs to be provided by the application server you are deploying on.

To run the server from the command line, you can use maven to provision and start a TomEE Server. Please execute the following:

mvn -Dtomee-embedded-plugin.http=8080 package org.apache.tomee.maven:tomee-embedded-maven-plugin:7.0.5:run

You can then call your server endpoints under:

http://localhost:8080/

Note that if you have configured the host to be something other than localhost, the calls through swagger-ui will be directed to that host and not localhost!