Skip to content

Commit 970e5c3

Browse files
committed
Version 0.93.0, closes #20
1 parent 0e5c6a3 commit 970e5c3

File tree

9 files changed

+91
-134
lines changed

9 files changed

+91
-134
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,12 +183,16 @@ http://<your app host:port>/swagger-stats/ui
183183

184184
## Updates
185185

186+
#### v0.93.0
187+
188+
* [feature] Support providing Prometheus metrics via [prom-client](https://www.npmjs.com/package/prom-client) library [#20](https://github.com/slanatech/swagger-stats/issues/20)
189+
190+
186191
#### v0.92.0
187192

188193
* [feature] OnResponseFinish hook: pass request/response record to callback so app can post proceses it add it to the log [#5](https://github.com/slanatech/swagger-stats/issues/5)
189194

190195

191-
192196
#### v0.91.0
193197

194198
* [feature] Option to specify alternative URI path for ui,stats and metrics [#17](https://github.com/slanatech/swagger-stats/issues/17)

dist/js/sws.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/maps/sws.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/spectest/spectest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ parser.validate(specLocation,function(err, api) {
7777
// Enable swagger-stats middleware with all options
7878
app.use(swStats.getMiddleware({
7979
name: 'swagger-stats-spectest',
80-
version: '0.92.0',
80+
version: '0.93.0',
8181
hostname: "hostname",
8282
ip: "127.0.0.1",
8383
timelineBucketDuration: tlBucket,

examples/testapp/testapp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ parser.validate(swaggerSpec,function(err, api) {
109109
// Enable swagger-stats middleware
110110
app.use(swStats.getMiddleware({
111111
name: 'swagger-stats-testapp',
112-
version: '0.92.0',
112+
version: '0.93.0',
113113
timelineBucketDuration: tlBucket,
114114
uriPath: '/swagger-stats',
115115
swaggerSpec:swaggerSpec,

lib/sws-api-swagger.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
swagger: '2.0'
22
info:
3-
version: 0.92.0
3+
version: 0.93.0
44
title: swagger-stats API
55
description: |
66
### Telemetry for your APIs

0 commit comments

Comments
 (0)