You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have 2 microservices, I want to merge the their swagger.yaml files and then serve with swagger-cli to use that final merged file.
Issue is that I run this command and It creates new yaml file only with content of input yaml from the last parameter of command. go-swagger-merger -o final_swagger.yaml network-service/docs/swagger.yaml controller-service/docs/swagger.yaml
The final_swagger.yaml contains content only from controller-service/docs/swagger.yaml and nothing from network-service/docs/swagger.yaml
The text was updated successfully, but these errors were encountered:
I confirm that when we merge 2 files that have the same paths (endpoint url) but two different methods (get vs post), only the last file is considered, when the 2 paths are different it all goes smooth.
I have attached 2 files to show the glitch, updating the path of one of them would show the well functioning of the merge function
I have 2 microservices, I want to merge the their swagger.yaml files and then serve with swagger-cli to use that final merged file.
Issue is that I run this command and It creates new yaml file only with content of input yaml from the last parameter of command.
go-swagger-merger -o final_swagger.yaml network-service/docs/swagger.yaml controller-service/docs/swagger.yaml
The final_swagger.yaml contains content only from controller-service/docs/swagger.yaml and nothing from network-service/docs/swagger.yaml
The text was updated successfully, but these errors were encountered: