Skip to content

how to combine swagger doc for multiple services running in different ports into a single SWAGGER UI #2645

@ArulJeyananth

Description

@ArulJeyananth

Problem statement

I am building couple of services in go. I am using go-swagger to generate swagger API . I have now multiple swagger UI. one for the services I run in 8000 and another one for the services I run in 8001,8003
How to combine all the swagger AOI for all the services and show in single swagger UI?

Please remove the sections that don't apply

Swagger specification

github.com/swaggo/gin-swagger v1.3.2
github.com/swaggo/swag v1.7.3 // indirect

Steps to reproduce

NA

Environment

swagger version: 1.3.2
go version: 1.16
OS: windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions