forked from loafle/openapi-generator-original
bugfix: openapi code generator to consider schema changes (#16735)
* bugfix: added schema location property * fix: #16723 open api schema refresh issue * Update modules/openapi-generator-gradle-plugin/src/main/kotlin/org/openapitools/generator/gradle/plugin/tasks/GenerateTask.kt Co-authored-by: David Morris <dave@code-fish.co.uk> --------- Co-authored-by: dsridhar <deepika.sridharr@aexp.com> Co-authored-by: William Cheng <wing328hk@gmail.com> Co-authored-by: David Morris <dave@code-fish.co.uk>
This commit is contained in:
parent
36367e79e7
commit
b01dd41ce3
@ -80,6 +80,15 @@ open class GenerateTask @Inject constructor(private val objectFactory: ObjectFac
|
|||||||
@Input
|
@Input
|
||||||
val generatorName = project.objects.property<String>()
|
val generatorName = project.objects.property<String>()
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This is the configuration for reference paths where schemas for openapi generation are stored
|
||||||
|
* The directory which contains the additional schema files
|
||||||
|
*/
|
||||||
|
@Optional
|
||||||
|
@InputDirectory
|
||||||
|
@PathSensitive(PathSensitivity.ABSOLUTE)
|
||||||
|
val schemaLocation = project.objects.property<String>()
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The output target directory into which code will be generated.
|
* The output target directory into which code will be generated.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user