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
  • #6472
Closed
Open
Issue created May 28, 2020 by Administrator@rootContributor

[REQ] [Gradle] Support Gradle Cache for Gradle Plugin "org.openapi.generator"

Created by: HenningWaack

Description

The Gradle Plugin "org.openapi.generator" does not support caching, since build inputs and outputs are not declared and the task types are not cachable, see https://docs.gradle.org/current/userguide/custom_gradle_types.html and https://docs.gradle.org/current/userguide/build_cache.html#sec:task_output_caching_details

openapi-generator version

v4.x

Steps to reproduce

Run gradle openApiGenerate --info multiple times. The generator tasks are executed every time, no caching is done.

Suggest a fix/enhancement

Enhance current Gradle plugin to support Caching by declaring @Input and @OutputDirectory annotations.

Assignee
Assign to
Time tracking