Skip to content

Commit 9f28373

Browse files
authored
Modify devfile schema download url (#3911)
* Modify devfile download url * detekt * Hardcoded version number
1 parent 6e4d052 commit 9f28373

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

jetbrains-core/src/software/aws/toolkits/jetbrains/services/caws/DevFileSchemaProviderFactory.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ class DevFileSchemaProviderFactory : JsonSchemaProviderFactory {
2626
override fun getSchemaVersion(): JsonSchemaVersion = JsonSchemaVersion.SCHEMA_7
2727
}
2828
)
29-
3029
private companion object {
31-
const val schemaUrl: String = "https://github.com/devfile/api/releases/latest/download/devfile.json"
30+
const val schemaUrl: String = "https://raw.githubusercontent.com/devfile/api/v2.2.1/schemas/latest/devfile.json"
3231
}
3332
}

0 commit comments

Comments
 (0)