emicklei / go-restful-openapi

OpenAPI extension in Go for the go-restful package
MIT License
135 stars 73 forks source link

Merge paths with existing paths from other webServices #48

Closed cathyyoung closed 6 years ago

cathyyoung commented 6 years ago

If you have the same path (but different HTTP methods) defined on different web services, the first one is overwritten when BuildSwagger is called. This PR allows the paths and operations to be merged.

emicklei commented 6 years ago

thank you for contributing.