chris48s
ae190c5f07
generate static examples without api call [apm appveyor cdnjs clojars gem npm uptimerobot] ( #1740 )
...
* allow service classes to define a static example
* define static example for some services
(apm, appveyor, cdnjs, clojars, gem, librariesio, npm, uptimerobot)
* add/update tests
This allows us to show an example without making an API call to a live service for better performance.
We can now specify 3 fields in the example definition:
* urlPattern for the version with placeholders e.g: /npm/dw/:package.svg
* ExampleUrl/Uri for the concrete example e.g: /npm/dw/localeval.svg
* PreviewUrl/Uri for the static (or live) image we will actually show
2018-08-23 20:22:24 +01:00
..
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-23 20:22:24 +01:00
2018-08-23 20:22:24 +01:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-23 20:22:24 +01:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-23 20:22:24 +01:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-21 23:38:12 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-23 20:22:24 +01:00
2018-08-12 20:45:43 -04:00
2018-08-19 10:27:23 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-12 20:45:43 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-23 20:22:24 +01:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-22 15:05:11 -04:00
2018-08-23 20:22:24 +01:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-21 23:38:12 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-11 10:43:05 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-23 20:22:24 +01:00
2018-08-08 17:57:14 -04:00
2018-08-20 20:04:11 +01:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-16 22:03:15 +01:00
2018-08-08 17:57:14 -04:00
2018-08-12 20:45:43 -04:00
2018-08-08 17:57:14 -04:00
2018-03-20 18:32:48 -07:00
2018-08-18 17:45:46 -04:00
2018-08-18 17:45:46 -04:00
2018-08-23 20:22:24 +01:00
2018-08-23 20:22:24 +01:00
2018-08-22 18:07:51 -04:00
2018-08-11 21:05:56 +01:00
2018-08-08 17:57:14 -04:00
2018-08-21 23:38:12 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-22 18:07:51 -04:00
2018-08-08 17:57:14 -04:00
2018-08-18 11:25:40 -04:00
2018-08-12 12:58:03 -04:00