Skip to content

Commit 14fddf9

Browse files
committed
implement feedback from CR
1 parent 542545b commit 14fddf9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/openapi-generator-gradle-plugin/README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ openApiMeta {
737737

738738
[IMPORTANT]
739739
====
740-
**Smart Input Routing:** The `setInputSpec()` method (in both extensions and tasks) automatically detects whether the provided path is a remote URL (e.g., `http://`, `https://`, `jar:`) or a local file path, and routes it to the appropriate property (`remoteInputSpec` or `inputSpec`).
740+
**Smart Input Routing:** The `setInputSpec()` method for extensions (and `setInputSpecAsString()` for custom tasks) automatically detects whether the provided path is a remote URL (e.g., `http://`, `https://`, `jar:`) or a local file path, and routes it to the appropriate property (`remoteInputSpec` or `inputSpec`).
741741
742742
Additionally, when you set a local file path after previously setting a remote URL (or vice versa), the method automatically clears the conflicting property to prevent stale values from taking precedence. This ensures your configuration behaves predictably even when you change between local and remote specs.
743743
====

0 commit comments

Comments
 (0)