Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix: openapi code generator to consider schema changes #16735

Merged
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,15 @@ open class GenerateTask @Inject constructor(private val objectFactory: ObjectFac
@Input
val generatorName = project.objects.property<String>()

/**
* This is the configuration for reference paths where schemas for openapi generation are stored
* The schema target directory into which code will be generated
wing328 marked this conversation as resolved.
Show resolved Hide resolved
*/
@Optional
@InputDirectory
@PathSensitive(PathSensitivity.ABSOLUTE)
val schemaLocation = project.objects.property<String>()

/**
* The output target directory into which code will be generated.
*/
Expand Down