Skip to content

Redundant API definitions in API gateway  #1084

@shoyebinamdar

Description

@shoyebinamdar

Hi Team,

While going through the examples I noticed that in apigateway we are registering the individual endpoints again with enpointer, along with the request and response object definitions. But these are already defined in the individual services (in main.go).

So why to add this more redundant registration of independent API's? This doesn't seems to be elegant way of doing it.

Ideally I would expect my API gateway to just route to the registered services without any extra API configuration in API gateway code.

Can you please help me here?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions