pub async fn get_competition( __arg0: State<AppState>, __arg1: Path<i64>, ) -> Result<Json<CompetitionResponse>, ApiError>
Get competition by id.