[Spec] spec Relation
[Spec] Add specs to Api
[API] close connection when the endpoint is changed