sbt-guardrail icon indicating copy to clipboard operation
sbt-guardrail copied to clipboard

Suggestion: Ability to point to url of an API spec rather than a file

Open nafg opened this issue 4 years ago • 3 comments

nafg avatar May 21 '20 03:05 nafg

Java IO file takes a https://docs.oracle.com/javase/7/docs/api/java/io/File.html#File(java.net.URI) URI, could we use that?

calvinbrown085 avatar Mar 01 '21 15:03 calvinbrown085

@calvinbrown085 The primary concern I had here was around the mechanics; just specifying a random URL, without caching, makes the project not able to be built offline.

Integrating with sbt/coursier/other resource caching would resolve this particular issue

blast-hardcheese avatar Mar 01 '21 15:03 blast-hardcheese

Additionally, ideally (though this may be something that should come later), recognition of semver in the API would more accurately represent the changes in network semantics vs just arbitrarily alterations in service implementation

blast-hardcheese avatar Mar 01 '21 16:03 blast-hardcheese