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
..
2017-12-25 22:21:37 -05:00
2018-08-19 00:40:02 -04:00
2018-08-12 20:45:43 -04:00
2017-10-01 21:09:43 -04:00
2018-08-23 20:22:24 +01:00
2018-08-23 20:22:24 +01: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-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
2017-03-26 22:57:55 +02: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-14 18:57:24 +01:00
2018-08-14 18:57:24 +01:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-19 10:27:23 -04:00
2018-08-19 10:27:23 -04:00
2018-08-18 23:54:53 -04:00
2018-08-14 18:57:24 +01:00
2018-08-14 18:57:24 +01:00
2018-08-12 20:45:43 -04:00
2018-08-11 20:13:40 -04:00
2018-08-08 17:57:14 -04:00
2018-08-12 20:45:43 -04:00
2018-08-12 20:45:43 -04:00
2018-08-12 20:45:43 -04:00
2018-08-12 20:45:43 -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-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-12 20:45:43 -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-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-08 17:57:14 -04:00
2018-08-12 20:45:43 -04:00
2018-08-12 20:45:43 -04:00
2018-08-19 10:27:23 -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-12 20:45:43 -04:00
2018-08-08 17:57:14 -04:00
2018-08-08 17:57:14 -04:00
2018-08-19 10:27:23 -04:00
2018-08-08 17:57:14 -04:00
2018-08-12 20:45:43 -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-08 17:57:14 -04:00
2018-08-12 20:45:43 -04:00
2018-08-08 17:57:14 -04:00
2018-08-12 20:45:43 -04:00
2018-08-11 20:13:40 -04:00
2018-08-08 17:57:14 -04:00
2018-08-12 20:45:43 -04:00
2018-08-19 10:27:23 -04:00
2018-08-09 07:22:54 -04:00
2018-08-09 07:22:54 -04:00
2018-08-09 07:22:54 -04:00
2018-08-09 07:22:54 -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