Skip to content

airframe-http: Failed to find endpoints defined in parent classes #863

@xerial

Description

@xerial
trait Base {
  @Endpoint(path="/info")
  def serverInfo: String = "hello"
}

// "/info" endpoint cannot be found
trait MyApi extends Base

Router probably needs to look at all declared methods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions