Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Issues
  • #3433
Closed
Open
Issue created Jul 24, 2019 by Administrator@rootContributor

[REQ] [JAVA] Java 11 Native HTTP client library

Created by: bbdouglas

Description

Support Java 11 Native HTTP client library.

New in the standard library of Java 11 is an HTTPClient class that simplifies much of the low-level details of making HTTP calls. Using this native client as opposed to a third party client such as Jersey or Feign comes with a few key benefits:

  • Reduced set of dependencies for the caller
  • Strong commitment to continuous support and backwards compatibility by the Java maintainers
  • Up-to-date features such as HTTP2 support
openapi-generator version

4.1.0

OpenAPI declaration file content or url

Petstore

Command line used for generation

Standard

Steps to reproduce

There is no Java library that uses the native HTTPClient introduced in Java 11.

Related issues/PRs

N/A

Suggest a fix/enhancement

We at Yelp have developed a set of mustache templates for use with openapi-generator that produces native Java 11 HTTPClient-based client libraries. We actively use these clients in our production microservices infrastructure and find them robust and performant. We would like to propose integrating these with the main openapi-generator project to open up their use to the wider community.

Assignee
Assign to
Time tracking