Skip to content

Commit

Permalink
Modify devfile schema download url (#3911)
Browse files Browse the repository at this point in the history
* Modify devfile download url

* detekt

* Hardcoded version number
  • Loading branch information
manodnyab authored Oct 13, 2023
1 parent 6e4d052 commit 9f28373
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ class DevFileSchemaProviderFactory : JsonSchemaProviderFactory {
override fun getSchemaVersion(): JsonSchemaVersion = JsonSchemaVersion.SCHEMA_7
}
)

private companion object {
const val schemaUrl: String = "https://github.com/devfile/api/releases/latest/download/devfile.json"
const val schemaUrl: String = "https://raw.githubusercontent.com/devfile/api/v2.2.1/schemas/latest/devfile.json"
}
}

0 comments on commit 9f28373

Please sign in to comment.