Export define-swagger-resource