transit-kit 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42,6 +42,7 @@ export function createServer(config) {
42
42
  endpointDefinitions: [],
43
43
  registerApiEndpoint(endpoint) {
44
44
  registerApiEndpoint(app, endpoint);
45
+ this.endpointDefinitions.push(endpoint.definition);
45
46
  },
46
47
  start() {
47
48
  app.listen(port);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "transit-kit",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "A declarative TypeScript framework for building type-safe Express.js APIs with automatic OpenAPI generation",
5
5
  "keywords": [
6
6
  "express",