Skip to content

Conversation

@penx
Copy link
Contributor

@penx penx commented Feb 7, 2018

Fixes #118

This means, for example, that if you set defaultPipe: swagger_controllers and controllerName is undefined, then it skips looking for a controller (as path.resolve(controllersDirs[i], controllerName) would error) and continues to making a mock.

@coveralls
Copy link

coveralls commented Feb 7, 2018

Coverage Status

Coverage decreased (-0.1%) to 95.625% when pulling 3d9f3d1 on penx:feature/always-mock-paths into 7f85797 on theganyo:master.

@penx penx force-pushed the feature/always-mock-paths branch from 9883210 to 3d9f3d1 Compare February 9, 2018 14:58
penx added a commit to penx/openapi-mock that referenced this pull request Feb 12, 2018
@penx
Copy link
Contributor Author

penx commented Feb 22, 2018

@theganyo I'm hoping to use swagger-node-runner in a mock tool which is dependent on this fix and #121. Any chance on some feedback on these ? Or should I publish a fork with my fixes?

https://github.com/penx/openapi-mock
penx/openapi-mock#5

Thanks!

@theganyo theganyo merged commit 5db3c38 into apigee-127:master Feb 22, 2018
@theganyo
Copy link
Collaborator

No, These seem good. I've merged them. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Option to enable mocks for all paths by default

3 participants